The rsa_verify_hash_ex function in rsa_verify_hash.c in LibTomCrypt, as used in OP-TEE before 2.2.0, does not validate that the message length is equal to the ASN.1 encoded data length, which makes it easier for remote attackers to forge RSA signatures or public certificates by leveraging a Bleichenbacher signature forgery attack.
References
Link | Resource |
---|---|
https://bugzilla.redhat.com/show_bug.cgi?id=1370955 | Issue Tracking Patch |
https://github.com/libtom/libtomcrypt/commit/5eb9743410ce4657e9d54fef26a2ee31a1b5dd0 | Issue Tracking Patch Third Party Advisory |
https://www.op-tee.org/advisories/ | Vendor Advisory |
Configurations
History
No history.
Information
Published : 2017-02-13 18:59
Updated : 2024-02-28 15:44
NVD link : CVE-2016-6129
Mitre link : CVE-2016-6129
CVE.ORG link : CVE-2016-6129
JSON object : View
Products Affected
libtom
- libtomcrypt
op-tee
- op-tee_os
CWE
CWE-20
Improper Input Validation