Skip to content
OpenAdvisories
Unscored CVE-2016-6129 EUVD-2016-7063

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 len…

Published Feb 13, 2017 · Updated Aug 6, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libtomcrypt 1.17-8 —
Debian 13 libtomcrypt 1.17-8 —
Debian 12 libtomcrypt 1.17-8 —
Debian 7 libtomcrypt 1.17-3.2+deb7u1 DLA-612-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS libtomcrypt 1.17-7ubuntu0.1 —
Ubuntu 14.04 LTS libtomcrypt 1.17-5ubuntu0.1 —

Advisories 1

References