GitHub Advisoryadvisory · PyPI
GHSA-537h-rv9q-vvph Python-RSA decryption of ciphertext leads to DoS
HIGH
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
- https://nvd.nist.gov/vuln/detail/CVE-2020-13757 advisory
- https://github.com/sybrenstuvel/python-rsa/issues/146 web
- https://github.com/sybrenstuvel/python-rsa/issues/146#issuecomment-641845667 web
- https://github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2020-99.yaml web
- https://github.com/sybrenstuvel/python-rsa package
- https://lists.fedoraproject.org/archives/list/[email protected]/message/2KILTHBHNSDUCYV22ODLOKTICJJ7JQIQ web
- https://lists.fedoraproject.org/archives/list/[email protected]/message/ZYB65VNILRBTXL6EITQTH2PZPK7I23MW web
- https://usn.ubuntu.com/4478-1 web