Advisory Published
Updated

REDHAT-BUG-1370955

First published: Sun Aug 28 2016(Updated: )

It has been reported that libtomcrypt may be vulnerable to a Bleichenbacher attack due to a vulnerability in rsa_verify_hash.c CERT has provided the details from Intel Security Advanced Threat Research team. ---------------------------------------------------------------------- Bleichenbacher signature forgery attack in OP-TEE Background The implementation for RSA signature verification of PKCS 1 v1.5 in the Open Portable Trusted Execution Environment (<a href="https://github.com/OP-TEE/optee_os">https://github.com/OP-TEE/optee_os</a>) appears to be vulnerable to a Bleichenbacher signature forgery attack. The vulnerability may result in RSA signature or public certificate forgery when a low public exponent (for example, e = 3) is used. Vulnerability The function rsa_verify_hash_ex (<a href="https://github.com/OPTEE/optee_os/blob/master/core/lib/libtomcrypt/src/pk/rsa/rsa_verify_hash.c">https://github.com/OPTEE/optee_os/blob/master/core/lib/libtomcrypt/src/pk/rsa/rsa_verify_hash.c</a>) does not check the number of remaining bytes in the decrypted message after ASN.1 encoded data. The function decodes the ASN.1 message and checks that it has the correct structure and values (OID and hash). This permits additional data after the ASN.1 message that can be used to forge a PKCS1 v1.5 signature for keys with a low public exponent. The original variant of the attack is described here: <a href="https://www.ietf.org/mail-archive/web/openpgp/current/msg00999.html">https://www.ietf.org/mail-archive/web/openpgp/current/msg00999.html</a> ----------------------------------------------------------------------

Affected SoftwareAffected VersionHow to fix
Libmcrypt
OP-TEE

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of REDHAT-BUG-1370955?

    The severity of REDHAT-BUG-1370955 is considered high due to its potential impact on the cryptographic validation process.

  • How do I fix REDHAT-BUG-1370955?

    To fix REDHAT-BUG-1370955, you should apply the latest updates provided by Libtom or OP-TEE that address this vulnerability.

  • What systems are affected by REDHAT-BUG-1370955?

    REDAHT-BUG-1370955 affects Libtomcrypt and OP-TEE OS implementations that utilize the vulnerable rsa_verify_hash.c file.

  • What type of attack does REDHAT-BUG-1370955 expose systems to?

    REDAHT-BUG-1370955 exposes systems to a Bleichenbacher attack which could allow an attacker to exploit weaknesses in RSA signature verification.

  • Who reported REDHAT-BUG-1370955?

    REDAHT-BUG-1370955 was reported by the Intel Security Advanced Threat Research team, highlighting concerns in the cryptographic library implementation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203