CVE-2026-69208
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Summary
Http4s is a Scala interface for HTTP services. Prior to 0.23.35 and 1.0.0-M47, the DigestAuth server middleware removes fresh nonces and stops eviction at the first stale nonce because its stale-nonce comparison is inverted. On an application that protects at least one route with DigestAuth, an unauthenticated attacker can repeatedly trigger authentication challenges, causing the persistent nonce map to grow until the JVM exhausts heap memory. This issue is fixed in versions 0.23.35 and 1.0.0-M47.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| http4s | http4s | < 0.23.35 | affected |
| http4s | http4s | >= 1.0.0-M1, < 1.0.0-M47 | affected |
Weaknesses
- CWE-400: CWE-400: Uncontrolled Resource Consumption
- CWE-401: CWE-401: Missing Release of Memory after Effective Lifetime
References
- https://github.com/http4s/http4s/security/advisories/GHSA-fm4g-76c9-7w69
- https://github.com/http4s/http4s/commit/8cfeda8472954d631dfbe5dc026463a27653e482
- https://github.com/http4s/http4s/releases/tag/v0.23.35
- https://github.com/http4s/http4s/releases/tag/v1.0.0-M47
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.