Information Exposure Affecting pycrypto package, versions [,2.6.1)


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 0.1% (41st percentile)
Expand this section
NVD
4.3 medium
Expand this section
Red Hat
3.7 low

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 ID SNYK-PYTHON-PYCRYPTO-40008
  • published 1 Aug 2017
  • disclosed 26 Oct 2013
  • credit Unknown

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