Ecosyste.ms: Advisories

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

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTUzN2gtcnY5cS12dnBo

Python-RSA decryption of ciphertext leads to DoS

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).

Permalink: https://github.com/advisories/GHSA-537h-rv9q-vvph
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTUzN2gtcnY5cS12dnBo
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: about 3 years ago
Updated: 8 months ago


CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Identifiers: GHSA-537h-rv9q-vvph, CVE-2020-13757
References: Repository: https://github.com/sybrenstuvel/python-rsa
Blast Radius: 36.3

Affected Packages

pypi:rsa
Dependent packages: 368
Dependent repositories: 69,170
Downloads: 188,146,702 last month
Affected Version Ranges: < 4.1
Fixed in: 4.1
All affected versions: 1.3.1, 1.3.2, 1.3.3, 3.0.1, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.2.1, 3.2.2, 3.2.3, 3.4.1, 3.4.2
All unaffected versions: 4.1.1, 4.4.1, 4.7.1, 4.7.2