Advisory

PYSEC-2013-29

Also known as: CVE-2013-1445, GHSA-x377-f64p-hf5j

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2013-10-26 17:55 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

pycrypto

PyPI · All systems

Affected

  • introduced 0, fixed 2.6.1 (ecosystem)

Fixed versions

2.6.1

Fix

  • Fixed version 2.6.1
    pip install --upgrade pycrypto==2.6.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences