GitHub Advisoryadvisory · PyPI

GHSA-x377-f64p-hf5j PyCrypto does not properly reseed PRNG before allowing access

HIGH Published 2022-05-17 Modified 2024-10-21 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