{"id":"GHSA-537h-rv9q-vvph","summary":"Python-RSA decryption of ciphertext leads to DoS","details":"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).","aliases":["CVE-2020-13757","PYSEC-2020-99"],"modified":"2024-10-21T22:00:49.211851Z","published":"2021-03-24T18:24:39Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2021-03-24T18:24:28Z","nvd_published_at":"2020-06-01T19:15:00Z","cwe_ids":["CWE-327"],"severity":"HIGH"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-13757"},{"type":"WEB","url":"https://github.com/sybrenstuvel/python-rsa/issues/146"},{"type":"WEB","url":"https://github.com/sybrenstuvel/python-rsa/issues/146#issuecomment-641845667"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2020-99.yaml"},{"type":"PACKAGE","url":"https://github.com/sybrenstuvel/python-rsa"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2KILTHBHNSDUCYV22ODLOKTICJJ7JQIQ"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZYB65VNILRBTXL6EITQTH2PZPK7I23MW"},{"type":"WEB","url":"https://usn.ubuntu.com/4478-1"}],"affected":[{"package":{"name":"rsa","ecosystem":"PyPI","purl":"pkg:pypi/rsa"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1"}]}],"versions":["1.1","1.2","1.3","1.3.1","1.3.2","1.3.3","2.0","3.0","3.0.1","3.1","3.1.1","3.1.2","3.1.3","3.1.4","3.2","3.2.1","3.2.2","3.2.3","3.3","3.4","3.4.1","3.4.2","4.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/03/GHSA-537h-rv9q-vvph/GHSA-537h-rv9q-vvph.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}