CVE-2020-13757
HIGH7.5EPSS 0.10%Python-RSA decryption of ciphertext leads to DoS
Published: 3/24/2021Modified: 4/28/2026
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).
Affected packages (3)
- Debian/python-rsafrom 0
- PyPI/rsafrom 0, < 4.1
- PyPI/rsafrom 0, < 4.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
References (13)
- ADVISORYhttps://github.com/advisories/GHSA-537h-rv9q-vvph
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2020-13757
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2020-13757
- PATCHhttps://github.com/sybrenstuvel/python-rsa
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2020-99.yaml
- WEBhttps://github.com/sybrenstuvel/python-rsa/issues/146
- WEBhttps://github.com/sybrenstuvel/python-rsa/issues/146#issuecomment-641845667
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/2KILTHBHNSDUCYV22ODLOKTICJJ7JQIQ
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/2KILTHBHNSDUCYV22ODLOKTICJJ7JQIQ/
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZYB65VNILRBTXL6EITQTH2PZPK7I23MW
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/ZYB65VNILRBTXL6EITQTH2PZPK7I23MW/
- WEBhttps://usn.ubuntu.com/4478-1
- WEBhttps://usn.ubuntu.com/4478-1/