Improper input validation in Python Rsa
CVE-2016-1494
The verify function in the RSA package for Python (Python-RSA) before 3.3 allows attackers to spoof signatures with a small public exponent via crafted signature padding, aka a BERserk attack.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N.
EPSS exploit prediction
EPSS 0.070, 94.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Python Rsa
- Fedoraproject Fedora — versions 22, 23
- openSUSE Leap — versions 42.1
- openSUSE — versions 13.1, 13.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- matthiasbe/secuimag3a (1 star, last pushed 2017-01-28): Exploit of the CVE-2016-1494 allowing to forge signatures of RSA keys with low exponents
Also mentioned in 6 other repositories (AdiRashkes/python-tda-bug-hunt-0, ARPSyndicate/cvemon, lanjelot/ctfs, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- [oss-security] 20160104 Re: CVE Request: python-rsa signature forgery (mailing-list, Mailing List, Third Party Advisory)
- www.securityfocus.com/bid/79829 (Third Party Advisory, VDB Entry, vdb-entry)
- blog.filippo.io/bleichenbacher-06-signature-forgery-in-python-rsa/ (Exploit, Third Party Advisory)
- [oss-security] 20160105 CVE Request: python-rsa signature forgery (mailing-list, Mailing List, Third Party Advisory)
- FEDORA-2016-70edfbbcef (vendor-advisory, Third Party Advisory)
- openSUSE-SU-2016:0108 (vendor-advisory, Mailing List, Third Party Advisory)
- bitbucket.org/sybren/python-rsa/pull-requests/14/security-fix-bb06-attack-in-ve… (Patch, Third Party Advisory)
- FEDORA-2016-c845706426 (vendor-advisory, Third Party Advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.