{"id":"CVE-2013-1445","aliases":["DEBIAN-CVE-2013-1445","DSA-2781-1","EUVD-2013-0027","GHSA-x377-f64p-hf5j","MGASA-2013-0319","PYSEC-2013-29","openSUSE-SU-2024:10346-1"],"status":"published","title":"PyCrypto does not properly reseed PRNG before allowing access","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.","severity":{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.01738,"percentile":0.77864,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-310","CWE-332"],"published":"2013-10-15T00:00:00Z","modified":"2026-06-16T23:51:26Z","fixes":[{"ecosystem":"PyPI","package":"pycrypto","fixed_in":["2.6.1"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:6.0","package":"python-crypto","fixed_in":["2.1.0-2+squeeze2"],"sources":["osv"]},{"ecosystem":"Debian:7","package":"python-crypto","fixed_in":["2.6-4+deb7u1"],"sources":["osv"]},{"ecosystem":"Mageia:2","package":"python-pycrypto","fixed_in":["2.3-2.2.mga2"],"sources":["osv"]},{"ecosystem":"Mageia:3","package":"python-pycrypto","fixed_in":["2.6-2.1.mga3"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"pycrypto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"python-crypto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.1.0-2+squeeze2"}]}],"versions":["2.1.0-2","2.1.0-2+squeeze1"]},{"source":"osv","ecosystem":"Debian:7","package":"python-crypto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-4+deb7u1"}]}],"versions":["2.6-4"]},{"source":"osv","ecosystem":"PyPI","package":"pycrypto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.1"}]}],"versions":["1.9a2","1.9a5","1.9a6","2.0","2.0.1","2.1.0","2.2","2.3","2.4","2.4.1","2.5","2.6"]},{"source":"osv","ecosystem":"Mageia:2","package":"python-pycrypto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3-2.2.mga2"}]}]},{"source":"osv","ecosystem":"Mageia:3","package":"python-pycrypto","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6-2.1.mga3"}]}]},{"source":"osv","ecosystem":"PyPI","package":"pycrypto","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"19dcf7b15d61b7dc1a125a367151de40df6ef175"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.6.1"}]}],"versions":["1.9a2","1.9a5","1.9a6","2.0","2.0.1","2.1.0","2.2","2.3","2.4","2.4.1","2.5","2.6","v2.6","v2.5","v2.4.1","v2.4","v2.3","v2.2","v2.1.0","v2.1.0b1","v2.1.0alpha2","v2.1.0alpha1","v1.9a5","v1.9a4","v1.9a3","v1.9a2","v1.9a1"]}],"products":[{"vendor":"dlitz","product":"pycrypto"}],"references":[{"url":"https://github.com/dlitz/pycrypto/commit/19dcf7b15d61b7dc1a125a367151de40df6ef175","tags":["x_refsource_CONFIRM","x_transferred","Exploit","web","fix"]},{"url":"http://www.openwall.com/lists/oss-security/2013/10/17/3","tags":["mailing-list","x_refsource_MLIST","x_transferred","Exploit","Patch","web"]},{"url":"http://www.debian.org/security/2013/dsa-2781","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","web","advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1445","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pycrypto/PYSEC-2013-29.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-x377-f64p-hf5j","tags":["advisory"]},{"url":"https://github.com/pycrypto/pycrypto","tags":["package"]},{"url":"https://advisories.mageia.org/MGASA-2013-0319.html","tags":["advisory"]},{"url":"http://lists.dlitz.net/pipermail/pycrypto/2013q4/000702.html","tags":["web"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=11491","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2012-2417","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2013-1445","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2013-1445","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.","status":"published","published":"2013-10-26T17:00:00Z","modified":"2024-09-16T16:43:18.789Z","updated_at":"2026-11-02T14:34:58.882751Z"}],"euvd":[{"id":"EUVD-2013-0027","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.","status":"published","published":"2013-10-26T17:00:00Z","modified":"2024-09-16T16:43:18Z","updated_at":"2026-11-03T00:55:49.07001Z"}],"ghsa":[{"id":"GHSA-x377-f64p-hf5j","title":"PyCrypto does not properly reseed PRNG before allowing access","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.","status":"published","published":"2022-05-17T04:59:18Z","modified":"2024-10-21T20:27:57Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-332"],"updated_at":"2026-11-02T14:38:12.325695Z"}],"nvd":[{"id":"CVE-2013-1445","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.","status":"published","published":"2013-10-26T17:55:03.027Z","modified":"2026-06-16T23:51:26.867Z","cvss":[{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:P/I:N/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-310"],"updated_at":"2026-11-02T14:02:40.988689Z"}],"osv":[{"id":"GHSA-x377-f64p-hf5j","title":"PyCrypto does not properly reseed PRNG before allowing access","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.","status":"published","published":"2022-05-17T04:59:18Z","modified":"2024-10-21T20:52:56.000321Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","level":"high"}],"cwes":["CWE-332"],"updated_at":"2026-11-02T15:46:59.484835Z"},{"id":"DSA-2781-1","title":"python-crypto - PRNG not correctly reseeded in some situations","status":"published","published":"2013-10-15T00:00:00Z","modified":"2026-03-09T01:23:16.004488Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"MGASA-2013-0319","title":"Updated python-pycrypto packages fix CVE-2013-1445","description":"Updated python-pycrypto package fixes security vulnerability:\n\nIn PyCrypto before v2.6.1, the Crypto.Random pseudo-random number\ngenerator (PRNG) exhibits a race condition that may cause it to generate\nthe same 'random' output in multiple processes that are forked from each\nother.  Depending on the application, this could reveal sensitive\ninformation or cryptographic keys to remote attackers (CVE-2013-1445).\n","status":"published","published":"2013-10-25T21:13:58Z","modified":"2026-04-16T06:25:21.076229988Z","updated_at":"2026-11-02T15:49:39.121227Z"},{"id":"openSUSE-SU-2024:10346-1","title":"python-pycrypto-2.6.1-4.8 on GA media","description":"These are all security issues fixed in the python-pycrypto-2.6.1-4.8 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2024-06-15T00:00:00Z","modified":"2026-02-04T04:09:05.349131Z","updated_at":"2026-11-02T16:58:34.487567Z"},{"id":"PYSEC-2013-29","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.","status":"published","published":"2013-10-26T17:55:00Z","modified":"2026-06-10T17:02:30.616689024Z","updated_at":"2026-11-02T15:52:51.645172Z"}]}}
