Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS12MzY3LXA1OHctOThoNc4AAaJC

PyCrypto makes Use of Insufficiently Random Values

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.

Permalink: https://github.com/advisories/GHSA-v367-p58w-98h5
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS12MzY3LXA1OHctOThoNc4AAaJC
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 2 years ago
Updated: 18 days ago


Identifiers: GHSA-v367-p58w-98h5, CVE-2012-2417
References: Repository: https://github.com/Legrandin/pycrypto
Blast Radius: 0.0

Affected Packages

pypi:PyCrypto
Dependent packages: 201
Dependent repositories: 30,404
Downloads: 8,373,600 last month
Affected Version Ranges: < 2.6
Fixed in: 2.6
All affected versions: 2.0.1, 2.1.0, 2.4.1
All unaffected versions: 2.6.1