Cryptographic Issues Affecting dlitz/pycrypto package, versions [,2.6.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.75% (76th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cryptographic Issues vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-DLITZPYCRYPTO-2366740
  • published26 Jan 2022
  • disclosed26 Oct 2013
  • creditUnknown

Introduced: 26 Oct 2013

CVE-2013-1445  (opens in a new tab)
CWE-310  (opens in a new tab)

How to fix?

Upgrade dlitz/pycrypto to version 2.6.1 or higher.

Overview

Affected versions of this package are vulnerable to Cryptographic Issues. 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

CVSS Base Scores

version 3.1