GnuTLS 3.0/3.1 X.509 Certificate lib/x509/common.c gnutls_x509_dn_oid_name null pointer dereference
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.1 | $0-$5k | 0.00 |
Summary
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.
Details
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
Product
Type
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 5.3VulDB Meta Temp Score: 5.1
VulDB Base Score: 5.3
VulDB Temp Score: 5.1
VulDB Vector: 🔍
VulDB Reliability: 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
NVD Base Score: 🔍
Exploiting
Class: Null pointer dereferenceCWE: 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-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
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 Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
Reaction Time: 🔍
0-Day Time: 🔍
Exposure Time: 🔍
Upgrade: GnuTLS 3.1.20/3.2.10
Patch: gitorious.org
Timeline
05/14/2014 🔍05/27/2014 🔍
05/27/2014 🔍
05/27/2014 🔍
05/30/2014 🔍
06/04/2014 🔍
06/10/2014 🔍
06/11/2014 🔍
06/13/2014 🔍
06/20/2021 🔍
Sources
Advisory: Bug 1101734Researcher: 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
Entry
Created: 06/04/2014 12:07Updated: 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.
No comments yet. Languages: en.
Please log in to comment.