CVE-2014-8275: Medium severity openssl vulnerability

Published Jan 5, 2015
·
Updated

Multiple flaws were found in the way OpenSSL parsed X.509 certificates. An attacker could use these flaws to modify an X.509 certificate to produce a certificate with a different fingerprint without invalidating its signature, and possibly bypass fingerprint-based blacklisting in applications.

Other sources

New release of OpenSSL [1] fixes the following:

By using non-DER or invalid encodings outside the signed portion of a certificate the fingerprint can be changed without breaking the signature. Although no details of the signed portion of the certificate can be changed this can cause problems with some applications: e.g. those using the certificate fingerprint for blacklists.

1. Reject signatures with non zero unused bits.

If the BIT STRING containing the signature has non zero unused bits reject the signature. All current signature algorithms require zero unused bits.

2. Check certificate algorithm consistency.

Check the AlgorithmIdentifier inside TBS matches the one in the certificate signature. NB: this will result in signature failure errors for some broken certificates.

3. Check DSA/ECDSA signatures use DER.

Reencode DSA/ECDSA signatures and compare with the original received signature. Return an error if there is a mismatch.

This will reject various cases including garbage after signature (thanks to Antti Karjalainen and Tuomo Untinen from the Codenomicon CROSS program for discovering this case) and use of BER or invalid ASN.1 INTEGERs (negative or with leading zeroes).

Upstream patches: - master: https://github.com/openssl/openssl/commit/684400ce192dac51df3d3e92b61830a6ef90be3e - 0.9.8: https://github.com/openssl/openssl/commit/ec2fede9467ae1a65f452d3a39f7fbc4891d9285 - 1.0.1: https://github.com/openssl/openssl/commit/a8565530e27718760220df469f0a071c85b9e731

There was also an additional fix for this: - https://github.com/openssl/openssl/commit/cb62ab4b17818fe66d2fed0a7fe71969131c811b

[1]: https://www.openssl.org/news/changelog.html

OpenSSL before 0.9.8zd, 1.0.0 before 1.0.0p, and 1.0.1 before 1.0.1k does not enforce certain constraints on certificate data, which allows remote attackers to defeat a fingerprint-based certificate-blacklist protection mechanism by including crafted data within a certificate's unsigned portion, related to crypto/asn1/averify.c, crypto/dsa/dsaasn1.c, crypto/ecdsa/ecsvrf.c, and crypto/x509/xall.c.

Affected Software

31 affected componentsFixes available
redhat/OpenSSL<1.0.1
1.0.1
redhat/OpenSSL<0.9.8
0.9.8
redhat/openssl<0:0.9.8e-33.el5_11
0:0.9.8e-33.el5_11
redhat/openssl<0:1.0.1e-30.el6_6.5
0:1.0.1e-30.el6_6.5
redhat/openssl<1:1.0.1e-34.el7_0.7
1:1.0.1e-34.el7_0.7
OpenSSL OpenSSL<=0.9.8zc
OpenSSL OpenSSL=1.0.0a
OpenSSL OpenSSL=1.0.0b
OpenSSL OpenSSL=1.0.0c
OpenSSL OpenSSL=1.0.0d
OpenSSL OpenSSL=1.0.0e
OpenSSL OpenSSL=1.0.0f
OpenSSL OpenSSL=1.0.0g
OpenSSL OpenSSL=1.0.0h
OpenSSL OpenSSL=1.0.0i
OpenSSL OpenSSL=1.0.0j
OpenSSL OpenSSL=1.0.0k
OpenSSL OpenSSL=1.0.0l
OpenSSL OpenSSL=1.0.0m
OpenSSL OpenSSL=1.0.0n
OpenSSL OpenSSL=1.0.0o
OpenSSL OpenSSL=1.0.1a
OpenSSL OpenSSL=1.0.1b
OpenSSL OpenSSL=1.0.1c
OpenSSL OpenSSL=1.0.1d
OpenSSL OpenSSL=1.0.1e
OpenSSL OpenSSL=1.0.1f
OpenSSL OpenSSL=1.0.1g
OpenSSL OpenSSL=1.0.1h
OpenSSL OpenSSL=1.0.1i
OpenSSL OpenSSL=1.0.1j

Event History

Jan 5, 2015
CVE Published
12:00 AM
Jan 9, 2015
CVE Published
via MITRE·02:00 AM
Data Sourced
via MITRE·02:00 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2014-8275?

CVE-2014-8275 has a moderate severity level as it allows attackers to bypass fingerprint-based blacklisting through forged X.509 certificates.

2

How do I fix CVE-2014-8275?

To fix CVE-2014-8275, you should upgrade OpenSSL to versions 1.0.1 or higher beyond 1.0.1h, or install patched versions from the relevant vendor.

3

What products are affected by CVE-2014-8275?

CVE-2014-8275 affects multiple versions of OpenSSL, specifically versions 0.9.8 and 1.0.1 up to 1.0.1h.

4

What types of attacks can CVE-2014-8275 enable?

CVE-2014-8275 can enable attackers to create valid certificates with different fingerprints, allowing them to impersonate trusted entities.

5

Is there a workaround for CVE-2014-8275?

There is no reliable workaround for CVE-2014-8275 other than upgrading to a secure version of OpenSSL.

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.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203