CVE-2008-4989
What it is
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).
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data tampering.
- Exploit odds
- 1.9% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.9% in the next 30 days (EPSS).
- Severity: 5.9 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.9% · EPSS, next 30 days
- Weakness
- CWE-295 · Improper certificate validation
- Record status
- Modified
Affected
- Gnu Gnutls < 2.6.1
- Fedoraproject Fedora 8
- Fedoraproject Fedora 9
- Canonical Ubuntu Linux 6.06
- Canonical Ubuntu Linux 7.10
- Canonical Ubuntu Linux 8.04
- Canonical Ubuntu Linux 8.10
- Debian Linux 4.0
Attack profile CVSS 3.1 · 5.9
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- High
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2008-4989.md and follow it. Check whether this project is affected by CVE-2008-4989. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3215
- http://secunia.com/advisories/32619
- http://www.securityfocus.com/bid/32232
- http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3215
- http://secunia.com/advisories/32619
- http://www.securityfocus.com/bid/32232
References
- http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3215
- http://article.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3217
- http://lists.opensuse.org/opensuse-security-announce/2008-12/msg00002.html
- http://lists.opensuse.org/opensuse-security-announce/2009-04/msg00010.html
- http://secunia.com/advisories/32619
- http://secunia.com/advisories/32681
- http://secunia.com/advisories/32687
- http://secunia.com/advisories/32879
- http://secunia.com/advisories/33501
- http://secunia.com/advisories/33694
- http://secunia.com/advisories/35423
- http://security.gentoo.org/glsa/glsa-200901-10.xml
- http://sunsolve.sun.com/search/document.do?assetkey=1-26-260528-1
- http://wiki.rpath.com/Advisories:rPSA-2008-0322
- http://www.debian.org/security/2009/dsa-1719
- http://www.gnu.org/software/gnutls/security.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2008:227
- http://www.redhat.com/support/errata/RHSA-2008-0982.html
- http://www.securityfocus.com/archive/1/498431/100/0/threaded
- http://www.securityfocus.com/bid/32232
- http://www.securitytracker.com/id?1021167
- http://www.ubuntu.com/usn/usn-678-2
- http://www.vupen.com/english/advisories/2008/3086
- http://www.vupen.com/english/advisories/2009/1567
- https://exchange.xforce.ibmcloud.com/vulnerabilities/46482