CyberRota Analysis
AI-GeneratedThe http4k toolkit for Kotlin HTTP applications is vulnerable to a denial-of-service attack due to the lack of size limits on decompressed gzip request bodies in versions prior to 4.51.0.0, 5.42.0.0, and 6.49.0.0. An unauthenticated client can exploit this vulnerability by sending a small gzip-encoded request that expands significantly, potentially exhausting the JVM heap and disrupting service for other users. Organizations using affected versions should prioritize upgrading to the fixed versions to mitigate this high-severity risk.
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
http4k is a functional toolkit for Kotlin HTTP applications. Prior to 4.51.0.0, 5.42.0.0, and 6.49.0.0, ServerFilters.GZip, RequestFilters.GunZip, and the underlying Gzip request-body decompression functions impose no limit on decompressed size. An unauthenticated client can send a small gzip-encoded request body that expands to gigabytes, exhausting the JVM heap and denying service to other clients. The fix uses SizeLimitedInputStream to enforce a default 10 MiB limit, causes ServerFilters.GZip and RequestFilters.GunZip to return 413 Request Entity Too Large, and causes other decompression paths to throw SizeLimitExceededException. This issue is fixed in versions 4.51.0.0, 5.42.0.0, and 6.49.0.0.