CVE-2008-4989
The _gnutls_x509_verify_certificate function in lib/x509/verify.c in libgnutls in GnuTLS before 2.6.1 trusts certificate chains in which…
Check your servers for CVE-2008-4989
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2008-4989 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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).
Exploitation
EPSS 1.88%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 80.0% of all scored CVEs. Scores of 28 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
n/a
n/a
|
affected all versions
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2008-4989 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2008-4989RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2008-4989Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2008-4989
trivy image --scanners vuln IMAGE | grep CVE-2008-4989
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- MDVSA-2008:227 mandriva.com · vendor advisory
- USN-678-2 ubuntu.com · vendor advisory
- 33694 secunia.com · third party advisory
- GLSA-200901-10 security.gentoo.org · vendor advisory
- RHSA-2008:0982 redhat.com · vendor advisory
- USN-678-1 usn.ubuntu.com · vendor advisory
- http://wiki.rpath.com/Advisories:rPSA-2008-0322 wiki.rpath.com
- 32687 secunia.com · third party advisory
- FEDORA-2008-9600 redhat.com · vendor advisory
- http://www.gnu.org/software/gnutls/security.html gnu.org
- https://issues.rpath.com/browse/RPL-2886 issues.rpath.com
- 35423 secunia.com · third party advisory
9 more
- SUSE-SR:2008:027 lists.opensuse.org · vendor advisory
- 260528 sunsolve.sun.com · vendor advisory
- 33501 secunia.com · third party advisory
- 32879 secunia.com · third party advisory
- 32619 secunia.com · third party advisory
- 32681 secunia.com · third party advisory
- SUSE-SR:2009:009 lists.opensuse.org · vendor advisory
- DSA-1719 debian.org · vendor advisory
- FEDORA-2008-9530 redhat.com · vendor advisory
Other references
- 20081117 rPSA-2008-0322-1 gnutls securityfocus.com · mailing list
- [gnutls-devel] 20081110 GnuTLS 2.6.1 - Security release [GNUTLS-SA-2008-3] article.gmane.org · mailing list
- [gnutls-devel] 20081110 Analysis of vulnerability GNUTLS-SA-2008-3 CVE-2008-4989 article.gmane.org · mailing list
- 32232 securityfocus.com · vdb entry
- 1021167 securitytracker.com · vdb entry
- ADV-2009-1567 vupen.com · vdb entry
- ADV-2008-3086 vupen.com · vdb entry
- oval:org.mitre.oval:def:11650 oval.cisecurity.org · vdb entry, signature
- gnutls-x509-name-spoofing(46482) exchange.xforce.ibmcloud.com · vdb entry
Source: the record CVE-2008-4989 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse