GnuTLS 3.0/3.1 X.509 Certificate lib/x509/common.c gnutls_x509_dn_oid_name null pointer dereference

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
5.1$0-$5k0.00

Summaryinfo

A vulnerability was found in GnuTLS 3.0/3.1. It has been rated as problematic. This affects the function gnutls_x509_dn_oid_name in the library lib/x509/common.c of the component X.509 Certificate Handler. The manipulation leads to null pointer dereference. This vulnerability is listed as CVE-2014-3465. There is no available exploit. Upgrading the affected component is advised.

Detailsinfo

A vulnerability was found in GnuTLS 3.0/3.1 (Network Encryption Software) and classified as problematic. This issue affects the function gnutls_x509_dn_oid_name in the library lib/x509/common.c of the component X.509 Certificate Handler. The manipulation with an unknown input leads to a null pointer dereference vulnerability. Using CWE to declare the problem leads to CWE-476. A NULL pointer dereference occurs when the application dereferences a pointer that it expects to be valid, but is NULL, typically causing a crash or exit. Impacted is availability.

The weakness was presented 05/27/2014 by Tomas Hoger as Bug 1101734 as not defined bug report (Bugzilla). The advisory is shared at bugzilla.redhat.com. The identification of this vulnerability is CVE-2014-3465 since 05/14/2014. The attack may be initiated remotely. No form of authentication is needed for a successful exploitation. Technical details are known, but no exploit is available. The following code is the reason for this vulnerability:

if (strcmp (_oid2str[i].oid, oid) == 0)
The advisory points out:
The function, when called with the GNUTLS_X509_DN_OID_RETURN_OID flag, should not return NULL to its caller. However, it could previously return NULL when parsed X.509 certificates included specific OIDs.

The vulnerability scanner Nessus provides a plugin with the ID 75384 (openSUSE Security Update : gnutls (openSUSE-SU-2014:0763-1)), which helps to determine the existence of the flaw in a target environment. It is assigned to the family SuSE Local Security Checks. The commercial vulnerability scanner Qualys is able to test this issue with plugin 123081 (Solaris Multiple GnuTLS Vulnerabilities).

Upgrading to version 3.1.20 or 3.2.10 eliminates this vulnerability. Applying a patch is able to eliminate this problem. The bugfix is ready for download at gitorious.org. The best possible mitigation is suggested to be upgrading to the latest version. A possible mitigation has been published immediately after the disclosure of the vulnerability. The vulnerability will be addressed with the following lines of code:

if (strcmp (_oid2str[i].oid, oid) == 0 && _oid2str[i].ldap_desc != NULL)

The vulnerability is also documented in the databases at X-Force (93541), Tenable (75384), SecurityFocus (BID 67739†), Secunia (SA59086†) and Vulnerability Center (SBV-44956†). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Not Affected

  • Red Hat Enterprise Linux 4/5/6

Productinfo

Type

Name

Version

License

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 5.3
VulDB Meta Temp Score: 5.1

VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

NVD Base Score: 🔍

Exploitinginfo

Class: Null pointer dereference
CWE: CWE-476 / CWE-404
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 75384
Nessus Name: openSUSE Security Update : gnutls (openSUSE-SU-2014:0763-1)
Nessus File: 🔍
Nessus Risk: 🔍
Nessus Family: 🔍
Nessus Port: 🔍

Qualys ID: 🔍
Qualys Name: 🔍

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍

Upgrade: GnuTLS 3.1.20/3.2.10
Patch: gitorious.org

Timelineinfo

05/14/2014 🔍
05/27/2014 +13 days 🔍
05/27/2014 +0 days 🔍
05/27/2014 +0 days 🔍
05/30/2014 +3 days 🔍
06/04/2014 +5 days 🔍
06/10/2014 +6 days 🔍
06/11/2014 +1 days 🔍
06/13/2014 +2 days 🔍
06/20/2021 +2564 days 🔍

Sourcesinfo

Advisory: Bug 1101734
Researcher: Tomas Hoger
Status: Not defined
Confirmation: 🔍

CVE: CVE-2014-3465 (🔍)
GCVE (CVE): GCVE-0-2014-3465
GCVE (VulDB): GCVE-100-13433

OVAL: 🔍

X-Force: 93541 - GnuTLS gnutls_x509_dn_oid_name() denial of service, Medium Risk
SecurityFocus: 67739 - GnuTLS 'gnutls_x509_dn_oid_name()' Function NULL Pointer Dereference Denial of Service Vulnerability
Secunia: 59086
Vulnerability Center: 44956 - GnuTLS 3.0 - 3.1.19, 3.2 - 3.2.9 Remote DoS Vulnerability via Crafted x.509 Certification due to Missing DN and LDAP Description, Medium

Entryinfo

Created: 06/04/2014 12:07
Updated: 06/20/2021 14:57
Changes: 06/04/2014 12:07 (76), 05/30/2017 11:10 (8), 06/20/2021 14:53 (3), 06/20/2021 14:57 (1)
Complete: 🔍
Cache ID: 216::103

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Want to stay up to date on a daily basis?

Enable the mail alert feature now!