Skip to content
Noroxi
CVE-2008-4989· NVD / CVE Program· CNA mitre

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

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

MediumCVSS 5.9 · v3.1—No exploit Fix available
Published
Nov 12, 2008
Updated
Jun 16, 2026
EPSS
1.9% · 79th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

24

Monitor

Low priority for now.

CVSS
23 / 40 · 5.9 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 1.9%

Affected systems

VendorProduct
gnugnutls
fedoraprojectfedora
canonicalubuntu linux
debiandebian linux
opensuseopensuse
suselinux enterprise
suselinux enterprise server

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux6.06
  • canonical ubuntu linux7.10
  • canonical ubuntu linux8.04
  • canonical ubuntu linux8.10
  • debian debian linux4.0
  • fedoraproject fedora8
  • fedoraproject fedora9
  • gnu gnutlsbefore 2.6.1
  • opensuse opensuse10.3 and later · up to 11.1 inclusive
  • suse linux enterprise10.0
  • suse linux enterprise11.0
  • suse linux enterprise server10
  • suse linux enterprise server11

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:4.0gnutls13before 1.4.4-3+etch31.4.4-3+etch3
openSUSE:Tumbleweedgnutlsbefore 3.4.15-1.13.4.15-1.1
Red Hat:enterprise_linux:5::clientgnutls-utilsbefore 0:1.4.1-3.el5_2.10:1.4.1-3.el5_2.1
Red Hat:enterprise_linux:5::client_workstationgnutlsbefore 0:1.4.1-3.el5_2.10:1.4.1-3.el5_2.1
Red Hat:enterprise_linux:5::client_workstationgnutls-debuginfobefore 0:1.4.1-3.el5_2.10:1.4.1-3.el5_2.1
Red Hat:enterprise_linux:5::client_workstationgnutls-develbefore 0:1.4.1-3.el5_2.10:1.4.1-3.el5_2.1

Same product

gnu: all records

Other highest-scoring records for the same primary product.

  • CVE-2017-5334Double free vulnerability in the gnutls_x509_ext_import_proxy function in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allows remote attacker
    49Plan
  • CVE-2019-3829A vulnerability was found in gnutls versions from 3.5.8 before 3.6.7.
    48Plan
  • CVE-2008-1948The _gnutls_server_name_recv_params function in lib/ext_server_name.c in libgnutls in gnutls-serv in GnuTLS before 2.2.4 does not properly c
    44Plan
  • CVE-2017-5337Multiple heap-based buffer overflows in the read_attribute function in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allow remote attackers to
    41Plan
  • CVE-2017-5336Stack-based buffer overflow in the cdk_pk_get_keyid function in lib/opencdk/pubkey.c in GnuTLS before 3.3.26 and 3.5.x before 3.5.8 allows r
    41Plan
  • CVE-2021-20232A flaw was found in gnutls.
    40Plan

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:gnutls131.4.4-3+etch3 · Debian:4.0Package registry (OSV)
opensuse:gnutls3.4.15-1.1 · openSUSE:TumbleweedPackage registry (OSV)
red hat:gnutls0:1.4.1-3.el5_2.1 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:gnutls-debuginfo0:1.4.1-3.el5_2.1 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:gnutls-devel0:1.4.1-3.el5_2.1 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)
red hat:gnutls-utils0:1.4.1-3.el5_2.1 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
none
Integrity
high · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
High
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N

nvd-primary

Root cause

A certificate validation error is silently swallowed instead of terminating the connection. Often, code added for a test environment makes its way into production.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

kotlin
override fun checkServerTrusted(chain: Array<X509Certificate>, type: String) {  // Left empty for the test environment}

Fixed

kotlin
val client = OkHttpClient.Builder()  .certificatePinner(    CertificatePinner.Builder()      .add("api.sirius.example", "sha256/…")      .build()  ).build()

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records