GitHub Advisoryadvisory · PyPI

GHSA-537h-rv9q-vvph Python-RSA decryption of ciphertext leads to DoS

HIGH Published 2021-03-24 Modified 2024-10-21 Official page ↗
Aliases
CVE-2020-13757
Ecosystem
PyPI
Packages
rsa
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-327
Reviewed
2021-03-24

Affected packages

• PyPI rsa: < 4.1 → fixed in 4.1

Description

Python-RSA before 4.1 ignores leading '\0' bytes during decryption of ciphertext. This could conceivably have a security-relevant impact, e.g., by helping an attacker to infer that an application uses Python-RSA, or if the length of accepted ciphertext affects application behavior (such as by causing excessive memory allocation).

Related

Alias · CVE (1)

  • CVE-2020-13757 Python-RSA before 4.1 ignores leading '\0' bytes during decryption of ciphertext. vulnerability

Weakness · CWE (1)

  • CWE-327 Use of a Broken or Risky Cryptographic Algorithm weakness

References