#VU42419 Cryptographic issues in PyCrypto - CVE-2013-1445


| Updated: 2020-08-10

Vulnerability identifier: #VU42419

Vulnerability risk: Medium

CVSSv4.0: 2.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2013-1445

CWE-ID: CWE-310

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
PyCrypto
Client/Desktop applications / Encryption software

Vendor: GNU

Description

The vulnerability allows a remote non-authenticated attacker to gain access to sensitive information.

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.

Mitigation
Install update from vendor's website.

Vulnerable software versions

PyCrypto: 1.0.0 - 2.5


External links
https://www.debian.org/security/2013/dsa-2781
https://www.openwall.com/lists/oss-security/2013/10/17/3
https://github.com/dlitz/pycrypto/commit/19dcf7b15d61b7dc1a125a367151de40df6ef175


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability