high7.5
CVE-2020-13757
Python-RSA decryption of ciphertext leads to DoS
Impact
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).
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | rsa | < 4.1 | 4.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Python-Rsa Project | Python-Rsa | before 4.1 |
| Fedoraproject | Fedora | Versions 31, 32 |
| Canonical | Ubuntu Linux | Version 14.04 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/sybrenstuvel/python-rsa/issues/146
- https://github.com/sybrenstuvel/python-rsa/issues/146#issuecomment-641845667
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2KILTHBHNSDUCYV22ODLOKTICJJ7JQIQ/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZYB65VNILRBTXL6EITQTH2PZPK7I23MW/
- https://usn.ubuntu.com/4478-1/
- https://github.com/advisories/GHSA-537h-rv9q-vvph
- https://nvd.nist.gov/vuln/detail/CVE-2020-13757
- https://github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2020-99.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2KILTHBHNSDUCYV22ODLOKTICJJ7JQIQ
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZYB65VNILRBTXL6EITQTH2PZPK7I23MW
- https://usn.ubuntu.com/4478-1