CVE-2013-0342:
pyrad uses sequential packet IDs
4.3
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.78738%
CWE
Published
5/5/2022
Updated
10/24/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
pyrad | pip | < 2.1 | 2.1 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability explicitly references the CreateID
function in packet.py
as the source of sequential/predictable IDs. The GitHub commit shows this function was modified to use a cryptographic RNG (SystemRandom
), confirming the original implementation used insecure randomness. While other parts of the code (e.g., CurrentID
initialization) were also patched, the CVE description and commit focus on CreateID
as the primary vulnerability vector.