CVE-2024-23771 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.
CriticalCVSS 9.8
EPSS 1.1%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
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.
Upgrade path
6 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/darkhttpd(Alpine v3.20) | < 1.15-r0 | 1.15-r0 | Fixed |
| alpine/darkhttpd(Alpine v3.21) | < 1.15-r0 | 1.15-r0 | Fixed |
| alpine/darkhttpd(Alpine v3.22) | < 1.15-r0 | 1.15-r0 | Fixed |
| alpine/darkhttpd(Alpine v3.23) | < 1.15-r0 | 1.15-r0 | Fixed |
| alpine/darkhttpd(Alpine v3.24) | < 1.15-r0 | 1.15-r0 | Fixed |
| unix4lyfe darkhttpd | < 1.15 | 1.15 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/darkhttpd(Alpine:v3.20) | < 1.15-r0 | 1.15-r0 |
| alpine/darkhttpd(Alpine:v3.21) | < 1.15-r0 | 1.15-r0 |
| alpine/darkhttpd(Alpine:v3.22) | < 1.15-r0 | 1.15-r0 |
| alpine/darkhttpd(Alpine:v3.23) | < 1.15-r0 | 1.15-r0 |
| alpine/darkhttpd(Alpine:v3.24) | < 1.15-r0 | 1.15-r0 |
| unix4lyfe darkhttpd | < 1.15 | 1.15 |
References
- github.com product
- github.com patch
- [oss-security] 20240125 Re: darkhttpd: timing attack and local leak of HTTP basic auth credentials mailing-list third-party-advisory
- security.alpinelinux.org vendor-advisory