CVE Vulnerabilities

CVE-2008-4989

Improper Certificate Validation

Published: Nov 13, 2008 | Modified: Apr 09, 2025
CVSS 3.x
5.9
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:P/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

The _gnutls_x509_verify_certificate function in lib/x509/verify.c in libgnutls in GnuTLS before 2.6.1 trusts certificate chains in which the last certificate is an arbitrary trusted, self-signed certificate, which allows man-in-the-middle attackers to insert a spoofed certificate for any Distinguished Name (DN).

Weakness

The product does not validate, or incorrectly validates, a certificate.

Affected Software

NameVendorStart VersionEnd Version
GnutlsGnu*2.6.1 (excluding)
Red Hat Enterprise Linux 5RedHatgnutls-0:1.4.1-3.el5_2.1*
Gnutls11Ubuntudapper*
Gnutls12Ubuntudapper*
Gnutls13Ubuntugutsy*
Gnutls13Ubuntuhardy*
Gnutls26Ubuntuintrepid*
Gnutls26Ubuntuupstream*

Potential Mitigations

References