CVE-2013-1445Dlitz Pycrypto
Medium 4.3 No auth needed
Follow: this CVE · Dlitz · Dlitz Pycrypto We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 2.0
- 4.3
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 78
- Auth required
- No
- Published
- Oct 26, 2013
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-310
- Vector
AV:N/AC:M/Au:N/C:P/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Pycrypto.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pycrypto |
< 2.6.1 |
2.6.1 |
pip install "pycrypto>=2.6.1" |
| PyPI | pycrypto |
< 2.6.1 |
2.6.1 |
pip install "pycrypto>=2.6.1" |
Per OSV / GitHub Advisories (GHSA-x377-f64p-hf5j, PYSEC-2013-29). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| dlitz | pycrypto | ≤ 2.6 |
| dlitz | pycrypto | 1.0.0 |
| dlitz | pycrypto | 1.0.1 |
| dlitz | pycrypto | 1.0.2 |
| dlitz | pycrypto | 2.0 |
| dlitz | pycrypto | 2.0.1 |
| dlitz | pycrypto | 2.1.0 |
| dlitz | pycrypto | 2.2 |
| dlitz | pycrypto | 2.3 |
| dlitz | pycrypto | 2.4 |
| dlitz | pycrypto | 2.4.1 |
| dlitz | pycrypto | 2.5 |
Official sources
References
Links published by the sources. Open them with care.
- www.debian.org
- www.openwall.com Exploit Patch
- github.com Exploit