Insecure Randomness Affecting pycrypto package, versions [,2.6)


0.0
medium

Snyk CVSS

    Attack Complexity Low
    User Interaction Required

    Threat Intelligence

    EPSS 0.43% (75th percentile)
Expand this section
NVD
4.3 medium
Expand this section
Red Hat
4.8 medium

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-40095
  • published 1 Aug 2017
  • disclosed 19 Apr 2012
  • credit Unknown

Overview

pycrypto is a Cryptographic module for Python.

PyCrypto before 2.6 does not produce appropriate prime numbers when using an ElGamal scheme to generate a key, which reduces the signature space or public key space and makes it easier for attackers to conduct brute force attacks to obtain the private key.

References