CVE-2013-1445 PyCrypto does not properly reseed PRNG before allowing access

Medium 4.3 Published Updated

Attackers can obtain sensitive information by exploiting a race condition in the PRNG reseeding process during child process creation.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Not stated
Victim action needed
Not needed
Fix
Available

What is CVE-2013-1445?

CVE-2013-1445 is a medium-severity vulnerability in n/a, published on 26 Oct 2013.

Official 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.

Weakness: CWE-310

Which versions are affected by CVE-2013-1445?

3 open source packages ship an affected version, including pycrypto. It affects 1 product.

PackageAffectedFixed in
pycrypto PyPIAll versions2.6.1
pycrypto PyPIAll versions2.6.1
pycrypto PyPIAll versions2.6.1

Products include Dlitz Pycrypto.

How do I fix CVE-2013-1445?

Upgrade pycrypto to 2.6.1 or later.

Is CVE-2013-1445 being exploited?

There is no known exploitation of CVE-2013-1445 in the wild and no public exploit code.

Sources

Also known as DSA-2781-1, GHSA-x377-f64p-hf5j, MGASA-2013-0319, PYSEC-2013-29.

Is CVE-2013-1445 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free