CVE-2024-23771
published critical CVSS 3.1 · 9.8darkhttpd: uses strcmp to verify authentication to bypass authentication via a timing side channel
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Alpine Linux | edge | darkhttpd | Fixed | 1.15-r0 | Package fix record |
| Alpine Linux | v3.20 | darkhttpd | Fixed | 1.15-r0 | Package fix record |
| Alpine Linux | v3.21 | darkhttpd | Fixed | 1.15-r0 | Package fix record |
| Alpine Linux | v3.22 | darkhttpd | Fixed | 1.15-r0 | Package fix record |
| Alpine Linux | v3.23 | darkhttpd | Fixed | 1.15-r0 | Package fix record |
| Alpine Linux | v3.24 | darkhttpd | Fixed | 1.15-r0 | Package fix record |
Description
darkhttpd before 1.15 uses strcmp (which is not constant time) to verify authentication, which makes it easier for remote attackers to bypass authentication via a timing side channel.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
2- n/a
- CWE-203 CWE-203 Observable Discrepancy
References
3- [oss-security] 20240125 Re: darkhttpd: timing attack and local leak of HTTP basic auth credentials http://www.openwall.com/lists/oss-security/2024/01/25/1
- https://github.com/emikulic/darkhttpd/commit/f477619d49f3c4de9ad59bd194265a48ddc03f04
- https://github.com/emikulic/darkhttpd/compare/v1.14...v1.15
Provider assertions
3mitre · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- a1b7ada47e112263c47f990d9b6e6917557d5af6459e95f322619ae8de2ecb22
- Ingested
- 23 Sep 2026, 08:19:40 UTC
- Source record
- Official CVE record