Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pycrypto
  4. ›
  5. CVE-2013-1445

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

May 17, 2022 (updated October 21, 2024)

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.

References

  • github.com/advisories/GHSA-x377-f64p-hf5j
  • github.com/dlitz/pycrypto/commit/19dcf7b15d61b7dc1a125a367151de40df6ef175
  • github.com/pycrypto/pycrypto
  • github.com/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2013-29.yaml
  • nvd.nist.gov/vuln/detail/CVE-2013-1445

Code Behaviors & Features

Detect and mitigate CVE-2013-1445 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.6.1

Fixed versions

  • 2.6.1

Solution

Upgrade to version 2.6.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-332: Insufficient Entropy in PRNG

Source file

pypi/pycrypto/CVE-2013-1445.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:03 +0000.