CVE-2016-1494: Python RSA allows attackers to spoof signatures
5.3
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.91469%
CWE
Published
5/14/2022
Updated
10/21/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
rsa | pip | < 3.3 | 3.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The commit diff shows critical changes to both verify() and _find_method_hash() functions. The vulnerability stemmed from: 1) Not validating padding bytes between 0001 header and ASN.1 structure (CWE-20), and 2) Using flexible parsing of ASN.1/hash position rather than fixed structure comparison (CWE-347). The patch replaced parsing logic with full-structure comparison of the expected padded hash, confirming these functions were the vulnerable components. Multiple references (CVE description, blog post analysis, and commit message) explicitly identify verify() as the attack vector.