GitHub Advisoryadvisory · PyPI

GHSA-v367-p58w-98h5 PyCrypto makes Use of Insufficiently Random Values

MEDIUM Published 2022-05-17 Modified 2024-10-21 Official page ↗
Aliases
CVE-2012-2417
Ecosystem
PyPI
Packages
PyCrypto
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Reviewed
2024-04-30

Affected packages

• PyPI PyCrypto: < 2.6 → fixed in 2.6

Description

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.

Related

Alias · CVE (1)

  • CVE-2012-2417 PyCrypto before 2.6 does not produce appropriate prime numbers when using an ElGamal scheme to generate a key, which reduces the signature… vulnerability

References