Skip to content

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

HighCVSS 7.5 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
Technology
UbuntuDebian

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

Upgrade path

10 packages: 8 fixed.

PackageAffectedFixed inStatus
debian/python-rsa(Debian 12) < 4.7.2-1 4.7.2-1 Fixed
debian/python-rsa(Debian 13) < 4.7.2-1 4.7.2-1 Fixed
debian/python-rsa(Debian 14) < 4.7.2-1 4.7.2-1 Fixed
pypi rsa(PyPI) < 4.1; = 1.1; = 1.2; = 1.3 +20 more 4.1 Fixed
python-rsa project python-rsa < 4.1 4.1 Fixed
ubuntu/python-rsa(Ubuntu Pro 14.04) < 3.1.2-1ubuntu0.1+esm1; = 3.1.2-1; = 3.1.2-1ubuntu0.1 3.1.2-1ubuntu0.1+esm1 Fixed
ubuntu/python-rsa(Ubuntu Pro 16.04) < 3.2.3-1.1ubuntu0.1~esm1; = 3.1.4-1; = 3.2.3-1; = 3.2.3-1.1 3.2.3-1.1ubuntu0.1~esm1 Fixed
ubuntu/python-rsa(Ubuntu Pro 18.04) < 3.4.2-1ubuntu0.1~esm1; = 3.4.2-1 3.4.2-1ubuntu0.1~esm1 Fixed
Canonical Ubuntu Linux = 14.04 No fix listed Versions listed
fedoraproject fedora = 31; = 32 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi rsa(PyPI) < 4.1 4.1
pypi rsa(PyPI) = 1.1 No fix listed
pypi rsa(PyPI) = 1.2 No fix listed
pypi rsa(PyPI) = 1.3 No fix listed
pypi rsa(PyPI) = 1.3.1 No fix listed
pypi rsa(PyPI) = 1.3.2 No fix listed
pypi rsa(PyPI) = 1.3.3 No fix listed
pypi rsa(PyPI) = 2.0 No fix listed
pypi rsa(PyPI) = 3.0 No fix listed
pypi rsa(PyPI) = 3.0.1 No fix listed
pypi rsa(PyPI) = 3.1 No fix listed
pypi rsa(PyPI) = 3.1.1 No fix listed
pypi rsa(PyPI) = 3.1.2 No fix listed
pypi rsa(PyPI) = 3.1.3 No fix listed
pypi rsa(PyPI) = 3.1.4 No fix listed
pypi rsa(PyPI) = 3.2 No fix listed
pypi rsa(PyPI) = 3.2.1 No fix listed
pypi rsa(PyPI) = 3.2.2 No fix listed
pypi rsa(PyPI) = 3.2.3 No fix listed
pypi rsa(PyPI) = 3.3 No fix listed
pypi rsa(PyPI) = 3.4 No fix listed
pypi rsa(PyPI) = 3.4.1 No fix listed
pypi rsa(PyPI) = 3.4.2 No fix listed
pypi rsa(PyPI) = 4.0 No fix listed
debian/python-rsa(Debian:12) < 4.7.2-1 4.7.2-1
Show 15 more
ProductAffected versionsFixed in
debian/python-rsa(Debian:13) < 4.7.2-1 4.7.2-1
debian/python-rsa(Debian:14) < 4.7.2-1 4.7.2-1
python-rsa project python-rsa < 4.1 4.1
fedoraproject fedora = 31 No fix listed
fedoraproject fedora = 32 No fix listed
Canonical Ubuntu Linux = 14.04 No fix listed
ubuntu/python-rsa(Ubuntu:Pro:14.04) < 3.1.2-1ubuntu0.1+esm1 3.1.2-1ubuntu0.1+esm1
ubuntu/python-rsa(Ubuntu:Pro:14.04) = 3.1.2-1 No fix listed
ubuntu/python-rsa(Ubuntu:Pro:14.04) = 3.1.2-1ubuntu0.1 No fix listed
ubuntu/python-rsa(Ubuntu:Pro:16.04) < 3.2.3-1.1ubuntu0.1~esm1 3.2.3-1.1ubuntu0.1~esm1
ubuntu/python-rsa(Ubuntu:Pro:16.04) = 3.1.4-1 No fix listed
ubuntu/python-rsa(Ubuntu:Pro:16.04) = 3.2.3-1 No fix listed
ubuntu/python-rsa(Ubuntu:Pro:16.04) = 3.2.3-1.1 No fix listed
ubuntu/python-rsa(Ubuntu:Pro:18.04) < 3.4.2-1ubuntu0.1~esm1 3.4.2-1ubuntu0.1~esm1
ubuntu/python-rsa(Ubuntu:Pro:18.04) = 3.4.2-1 No fix listed

References