The _gnutls_recv_client_kx_message function in lib/gnutls_kx.c in libgnutls in gnutls-serv in GnuTLS before 2.2.4 continues to process Clien
The _gnutls_recv_client_kx_message function in lib/gnutls_kx.c in libgnutls in gnutls-serv in GnuTLS before 2.2.4 continues to process Client Hello messages within a TLS message after one has already been processed, which allows remote attackers to cause a denial of service (NULL dereference and crash) via a TLS message containing multiple Client Hello messages, aka GNUTLS-SA-2008-1-2.
- Published
- May 21, 2008
- Updated
- Jun 16, 2026
- EPSS
- 5.8% · 93th percentile
- CWE
- CWE-287
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
39
Monitor
Low priority for now.
- CVSS
- 37 / 40 · 9.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 2 / 30 · 5.8%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| gnu | gnutls | cpe:2.3:a:gnu:gnutls |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- gnu gnutls1.0.18
- gnu gnutls1.0.19
- gnu gnutls1.0.20
- gnu gnutls1.0.21
- gnu gnutls1.0.22
- gnu gnutls1.0.23
- gnu gnutls1.0.24
- gnu gnutls1.0.25
- gnu gnutls1.1.13
- gnu gnutls1.1.14
- gnu gnutls1.1.15
- gnu gnutls1.1.16
- gnu gnutls1.1.17
- gnu gnutls1.1.18
- gnu gnutls1.1.19
- gnu gnutls1.1.20
- gnu gnutls1.1.21
- gnu gnutls1.1.22
- gnu gnutls1.1.23
- gnu gnutls1.2.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:4.0 | gnutls13 | before 1.4.4-3+etch1 | 1.4.4-3+etch1 |
| openSUSE:Tumbleweed | gnutls | before 3.7.2-1.2 | 3.7.2-1.2 |
| Red Hat:enterprise_linux:4::as | gnutls | before 0:1.0.20-4.el4_6 | 0:1.0.20-4.el4_6 |
| Red Hat:enterprise_linux:4::as | gnutls-debuginfo | before 0:1.0.20-4.el4_6 | 0:1.0.20-4.el4_6 |
| Red Hat:enterprise_linux:4::as | gnutls-devel | before 0:1.0.20-4.el4_6 | 0:1.0.20-4.el4_6 |
| Red Hat:enterprise_linux:5::client | gnutls-utils | before 0:1.4.1-3.el5_1 | 0:1.4.1-3.el5_1 |
| Red Hat:enterprise_linux:5::client_workstation | gnutls | before 0:1.4.1-3.el5_1 | 0:1.4.1-3.el5_1 |
| Red Hat:enterprise_linux:5::client_workstation | gnutls-debuginfo | before 0:1.4.1-3.el5_1 | 0:1.4.1-3.el5_1 |
| Red Hat:enterprise_linux:5::client_workstation | gnutls-devel | before 0:1.4.1-3.el5_1 | 0:1.4.1-3.el5_1 |
Same product
gnu: all recordsOther 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 attacker49Plan
- 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 c44Plan
- 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 to41Plan
- 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 r41Plan
- 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 / package | Fixed version | Source |
|---|---|---|
| debian:gnutls13 | 1.4.4-3+etch1 · Debian:4.0 | Package registry (OSV) |
| opensuse:gnutls | 3.7.2-1.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:gnutls | 0:1.4.1-3.el5_1 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:gnutls-debuginfo | 0:1.4.1-3.el5_1 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:gnutls-devel | 0:1.4.1-3.el5_1 · Red Hat:enterprise_linux:5::client_workstation | Package registry (OSV) |
| red hat:gnutls-utils | 0:1.4.1-3.el5_1 · Red Hat:enterprise_linux:5::client | Package 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.
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.
Credits
All researchersFinders, 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
If successful
- Confidentiality
- C · data can be read
- Integrity
- C · data or configuration can be modified
- Availability
- C · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- C
- Integrity impact
- C
- Availability impact
- C
Weakness class (CWE)
CWE-287 · Improper AuthenticationCVSS vector
AV:N/AC:M/Au:N/C:C/I:C/A:C
nvd-primary
Root cause
Authentication is added route by route instead of being enforced in one place. When a route added later bypasses the shared middleware, the session check never runs for it.
The bug in code
The whole CWE-287 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
app.use("/admin", requireSession, adminRouter);
// Route added later skips the middlewareapp.post("/admin-api/config", updateConfig);Fixed
const admin = express.Router();admin.use(requireSession, requireRole("admin"));
admin.post("/config", updateConfig);app.use("/admin", admin);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Authentication AbuseCAPEC-114Medium
- Authentication BypassCAPEC-115Medium
- Identity SpoofingCAPEC-151likelihood: Medium · Medium
- Fake the Source of DataCAPEC-194Medium
- Exploiting Trust in ClientCAPEC-22likelihood: High · High
- Utilizing REST's Trust in the System Resource to Obtain Sensitive DataCAPEC-57likelihood: Medium · Very High
- Session HijackingCAPEC-593likelihood: High · Very High
- Token ImpersonationCAPEC-633Medium
ATT&CK techniques
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 helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- git.savannah.gnu.org/gitweb/?p=gnutls.git%3Ba=commitdiff%3Bh=bc8102405fda11ea00ca3b42acc4f4bce9d6e97b
- lists.gnu.org/archive/html/gnutls-devel/2008-05/msg00051.html
- lists.gnu.org/archive/html/gnutls-devel/2008-05/msg00055.html
- lists.gnu.org/archive/html/gnutls-devel/2008-05/msg00060.html
- lists.opensuse.org/opensuse-security-announce/2008-09/msg00003.html
- secunia.com/advisories/30287
- secunia.com/advisories/30302
- secunia.com/advisories/30317
- secunia.com/advisories/30324
- secunia.com/advisories/30330
- secunia.com/advisories/30331
- secunia.com/advisories/30338
- secunia.com/advisories/30355
- secunia.com/advisories/31939
- security.gentoo.org/glsa/glsa-200805-20.xml
- securityreason.com/securityalert/3902
- sourceforge.net/project/shownotes.php?release_id=600646&group_id=21558
- wiki.rpath.com/wiki/Advisories:rPSA-2008-0174
- www.debian.org/security/2008/dsa-1581
- www.kb.cert.org/vuls/id/252626
Vendor advisories and official records. Exploit/PoC links are deliberately left out.