Information Exposure Affecting pycrypto package, versions [,2.6.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.14% (51st 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 Information Exposure vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PYCRYPTO-40008
  • published1 Aug 2017
  • 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 to version 2.6.1 or greater.

Overview

pycrypto is a Cryptographic module for Python.

Affected versions of this package are vulnerable Information Exposure. 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