Live threats

All CVEs / Python-rsa Project

CVE-2020-13757Python-rsa Project Python-rsa

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Jun 1, 2020
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-327
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Python-rsa.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI rsa < 4.1 4.1 pip install "rsa>=4.1"
PyPI rsa < 4.1 4.1 pip install "rsa>=4.1"

Per OSV / GitHub Advisories (GHSA-537h-rv9q-vvph, PYSEC-2020-99). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
python-rsa_projectpython-rsa< 4.1
fedoraprojectfedora31
fedoraprojectfedora32
canonicalubuntu_linux14.04

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.