GitHub Advisoryadvisory · PyPI
GHSA-x377-f64p-hf5j PyCrypto does not properly reseed PRNG before allowing access
HIGH
Official page ↗
- Aliases
- CVE-2013-1445
- Ecosystem
- PyPI
- Packages
- pycrypto
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-332
- Reviewed
- 2024-04-22
Affected packages
• PyPI pycrypto: < 2.6.1 → fixed in 2.6.1
Description
The Crypto.Random.atfork function in PyCrypto before 2.6.1 does not properly reseed the pseudo-random number generator (PRNG) before allowing a child process to access it, which makes it easier for context-dependent attackers to obtain sensitive information by leveraging a race condition in which a child process is created and accesses the PRNG within the same rate-limit period as another process.
Related
Alias · CVE (1)
- CVE-2013-1445 The Crypto.Random.atfork function in PyCrypto before 2.6.1 does not properly reseed the pseudo-random number generator (PRNG) before… vulnerability
Weakness · CWE (1)
- CWE-332 Insufficient Entropy in PRNG weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2013-1445 advisory
- https://github.com/dlitz/pycrypto/commit/19dcf7b15d61b7dc1a125a367151de40df6ef175 web
- https://github.com/pycrypto/pycrypto package
- https://github.com/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2013-29.yaml web
- http://www.debian.org/security/2013/dsa-2781 web
- http://www.openwall.com/lists/oss-security/2013/10/17/3 web