CVE-2013-1445
HIGH7.5EPSS 0.42%python-crypto - PRNG not correctly reseeded in some situations
Published: 5/17/2022Modified: 3/9/2026
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.
Affected packages (3)
- Debian/python-cryptofrom 0, < 2.1.0-2+squeeze2
- PyPI/pycryptofrom 0, < 2.6.1
- PyPI/pycryptofrom 0, < 19dcf7b15d61b7dc1a125a367151de40df6ef175 | from 0, < 2.6.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (6)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2013-1445
- PATCHhttps://github.com/pycrypto/pycrypto
- WEBhttps://github.com/dlitz/pycrypto/commit/19dcf7b15d61b7dc1a125a367151de40df6ef175
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2013-29.yaml
- WEBhttp://www.debian.org/security/2013/dsa-2781
- WEBhttp://www.openwall.com/lists/oss-security/2013/10/17/3