Vulnerability GHSA-fm4g-76c9-7w69

High Risk
HIGH RISK
CVSS Score: 7.5
Score Range: 7.0–8.9
High severity vulnerabilities (CVSS 7.0–8.9). Serious vulnerabilities that should be prioritized soon after critical fixes.
3 hours ago
September 15, 2026 at 07:54 PM UTC
Http4s: DigestAuth nonce map grows unbounded
0.10.0
0.10.0

Summary

Http4s: DigestAuth nonce map grows unbounded

Details

The DigestAuth server middleware's stale-nonce cleanup uses an inverted comparison: it removes fresh nonces and stops at the first stale one. Because a new nonce is created for every unauthenticated challenge, an attacker can drive the nonce map to grow without bound until the JVM runs out of heap.

Impact

Unauthenticated remote denial of service (gradual heap exhaustion / OOM) against any service using DigestAuth. The leak is persistent.

Preconditions

  • Application uses DigestAuth on at least one route.

Workarounds

  • Front the DigestAuth protected routes with a rate limiter to slow the leak.
  • Restart periodically.

Fixes

  • The eviction logic is corrected.
  • A max cache size of 1000000 is imposed to protected against a burst between evictions. This limit is not yet configurable.

Timeline

Published
3 hours ago
September 15, 2026 at 07:54 PM UTC
Fixed (0.23.35)
Unknown
Unknown
Fixed (0.23.35)
Unknown
Unknown
Fixed (1.0.0-M47)
Unknown
Unknown
Fixed (0.23.35)
Unknown
Unknown
Fixed (1.0.0-M47)
Unknown
Unknown
Last Modified
3 hours ago
September 15, 2026 at 08:00 PM UTC