CyberRota Analysis
AI-GeneratedThe DigestAuth server middleware in Http4s versions prior to 0.23.35 and 1.0.0-M47 is vulnerable due to an inverted comparison in stale-nonce handling, allowing unauthenticated attackers to exhaust JVM heap memory by triggering repeated authentication challenges. This can lead to denial-of-service conditions for applications utilizing DigestAuth for route protection. Organizations using affected versions should prioritize upgrading to the patched releases to mitigate this high-severity vulnerability.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
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.