CVE-2014-3465: Null Pointer Dereference
A NULL pointer dereference flaw was discovered in GnuTLS's gnutlsx509dnoidname(). The function, when called with the GNUTLSX509DNOIDRETURNOID flag, should not return NULL to its caller. However, it could previously return NULL when parsed X.509 certificates included specific OIDs.
The issue was corrected upstream using the following commit: https://www.gitorious.org/gnutls/gnutls/commit/d3648ebb04b650e6d20a2ec1fb839256b30b9fc6
The fix was first included in upstream versions 3.1.20 and 3.2.10: http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/7251 http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/7250
Affected function was introduced in GnuTLS version 3.0: http://gnutls.org/manual/htmlnode/X509-certificate-API.html#gnutls005fx509005fdn005foid005fname-1
The gnutls packages in Red Hat Enterprise Linux 6 and earlier include GnuTLS versions 2.x or 1.x and were therefore not affected by this issue. The gnutls and mingw-gnutls packages in Fedora are already updated to the fixed upstream version.
Other sources
The gnutlsx509dnoidname function in lib/x509/common.c in GnuTLS 3.0 before 3.1.20 and 3.2.x before 3.2.10 allows remote attackers to cause a denial of service (NULL pointer dereference) via a crafted X.509 certificate, related to a missing LDAP description for an OID when printing the DN.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2014-3465?
CVE-2014-3465 is classified as a medium severity vulnerability due to the potential for a NULL pointer dereference.
How do I fix CVE-2014-3465?
To fix CVE-2014-3465, upgrade to GnuTLS versions 3.1.20 or 3.2.10 or later.
Which versions of GnuTLS are affected by CVE-2014-3465?
CVE-2014-3465 affects GnuTLS versions prior to 3.1.20 and 3.2.10.
What are the implications of the vulnerability CVE-2014-3465?
The implications of CVE-2014-3465 include potential crashes or unexpected behavior in applications using GnuTLS when handling certain X.509 certificates.
Who discovered CVE-2014-3465?
CVE-2014-3465 was reported by the GnuTLS development community.