Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. rsa
  4. ›
  5. CVE-2020-13757

CVE-2020-13757: Python-RSA decryption of ciphertext leads to DoS

March 24, 2021 (updated October 21, 2024)

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

References

  • github.com/advisories/GHSA-537h-rv9q-vvph
  • github.com/pypa/advisory-database/tree/main/vulns/rsa/PYSEC-2020-99.yaml
  • github.com/sybrenstuvel/python-rsa
  • github.com/sybrenstuvel/python-rsa/issues/146
  • github.com/sybrenstuvel/python-rsa/issues/146
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2KILTHBHNSDUCYV22ODLOKTICJJ7JQIQ
  • lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZYB65VNILRBTXL6EITQTH2PZPK7I23MW
  • nvd.nist.gov/vuln/detail/CVE-2020-13757
  • usn.ubuntu.com/4478-1

Code Behaviors & Features

Detect and mitigate CVE-2020-13757 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1

Fixed versions

  • 4.1

Solution

Upgrade to version 4.1 or above.

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm

Source file

pypi/rsa/CVE-2020-13757.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:50 +0000.