CVE-2009-5138: Medium severity GNU GnuTLS vulnerability

Published Jan 9, 2009
·
Updated

GnuTLS before 2.7.6, when the GNUTLSVERIFYALLOWX509V1CACRT flag is not enabled, treats version 1 X.509 certificates as intermediate CAs, which allows remote attackers to bypass intended restrictions by leveraging a X.509 V1 certificate from a trusted CA to issue new certificates, a different vulnerability than CVE-2014-1959.

Other sources

While investigating GnuTLS issue CVE-2014-1959 (bug 1065092), it was discovered that older versions of GnuTLS were affected by the same problem, with a different root cause. When using default certificate verification settings, GnuTLS accepted version 1 X.509 certificates as intermediate CAs. An attacker able to obtain a V1 certificate from a CA trusted by application could generate certificates for other hosts or users that would be accepted by GnuTLS.

This issue affected GnuTLS versions before 2.7.6. Problem was reported in the following post:

http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3351/focus=3361

and fixed upstream via:

https://gitorious.org/gnutls/gnutls/commit/c8dcbedd1fdc312f5b1a70fcfbc1afe235d800cd

This did not affect applications that used GNUTLSVERIFYALLOWX509V1CACRT verification flag, which instructs GnuTLS to allow root CA certificates to be version 1 certificates. This was set by e.g. gnutls-cli client application in GnuTLS versions affected by this bug.

This issue affects gnutls packages in Red Hat Enterprise Linux 5. Versions used in Red Hat Enterprise Linux 6 or current Fedora versions are newer than 2.7.6 and are not affected.

Red Hat

Affected Software

8 affected componentsFixes available
redhat/gnutls<0:1.4.1-14.el5_10
0:1.4.1-14.el5_10
redhat/gnutls<2.7.6
2.7.6
GNU GnuTLS<=2.7.5
GNU GnuTLS=2.7.0
GNU GnuTLS=2.7.1
GNU GnuTLS=2.7.2
GNU GnuTLS=2.7.3
GNU GnuTLS=2.7.4

Event History

Jan 9, 2009
CVE Published
via Red Hat·12:00 AM
Mar 6, 2014
CVE Published
via MITRE·06:00 PM
Data Sourced
via MITRE·06:00 PM
Description
Mar 7, 2014
Data Sourced
via NVD·12:10 AM
RemedyDescriptionSeverityWeaknessAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2009-5138?

CVE-2009-5138 is classified as a moderate severity vulnerability due to its potential to allow unauthorized certificate issuance.

2

How do I fix CVE-2009-5138?

To fix CVE-2009-5138, update GnuTLS to version 2.7.6 or later, or enable the GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT flag.

3

What versions of GnuTLS are affected by CVE-2009-5138?

Versions of GnuTLS prior to 2.7.6 are affected by CVE-2009-5138.

4

Can CVE-2009-5138 be exploited remotely?

Yes, CVE-2009-5138 can be exploited remotely by attackers leveraging a X.509 V1 certificate from a trusted CA.

5

What is the impact of CVE-2009-5138 on certificate validation?

CVE-2009-5138 allows X.509 V1 certificates to be incorrectly treated as intermediate CAs, bypassing validation restrictions.

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