CVE-2013-0342: Input Validation

Published Feb 15, 2013
·
Updated

Nathaniel McCallum reported that pyrad was creating serialized RADIUS packet IDs in the CreateID() function in packet.py. This is not suitable for RADIUS as the RFC specifies that the ID must not be predictable. As a result, the ID of the next packet sent can be spoofed.

This has been corrected in upstream's forthcoming version 2.1 via:

https://github.com/wichert/pyrad/commit/38f74b36814ca5b1a27d9898141126af4953bee5

Other sources

The CreateID function in packet.py in pyrad before 2.1 uses sequential packet IDs, which makes it easier for remote attackers to spoof packets by predicting the next ID, a different vulnerability than CVE-2013-0294.

MITRE

Affected Software

2 affected componentsFixes available
pip/pyrad<2.1
2.1
Pyrad Project Pyrad<2.1

Event History

Feb 15, 2013
Data Sourced
via Red Hat·04:12 PM
DescriptionSeverityAffected Software
Dec 9, 2019
CVE Published
via MITRE·08:55 PM
Data Sourced
via MITRE·08:55 PM
DescriptionWeakness
May 5, 2022
Advisory Published
via GitHub·12:29 AM

Frequently Asked Questions

1

What is the severity of CVE-2013-0342?

CVE-2013-0342 is considered a high severity vulnerability due to the potential for ID spoofing in RADIUS packets.

2

How do I fix CVE-2013-0342?

To fix CVE-2013-0342, upgrade pyrad to version 2.1 or later.

3

What type of vulnerability is CVE-2013-0342?

CVE-2013-0342 is a vulnerability related to unpredictable ID generation in RADIUS packet handling.

4

Who reported CVE-2013-0342?

CVE-2013-0342 was reported by Nathaniel McCallum.

5

In which function was the vulnerability identified for CVE-2013-0342?

The vulnerability in CVE-2013-0342 was identified in the CreateID() function within packet.py.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203