<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Http4k-Core - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/http4k-core/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Tue, 18 Aug 2026 00:46:52 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/http4k-core/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Unbounded Gzip Decompression Denial of Service in http4k</title><link>https://feed.craftedsignal.io/briefs/2026-08-http4k-dos/</link><pubDate>Tue, 18 Aug 2026 00:46:52 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-08-http4k-dos/</guid><description>The http4k library fails to limit the size of decompressed gzip data, allowing unauthenticated remote attackers to trigger JVM heap exhaustion via small, highly compressed payloads.</description><content:encoded><![CDATA[<p>The http4k library (http4k-core) contains a vulnerability in its <code>ServerFilters.GZip</code> and <code>RequestFilters.GunZip</code> components, where incoming request bodies are decompressed without verifying the final, expanded size. This flaw, tracked as CVE-2026-53659, allows an attacker to send a maliciously crafted, highly compressed gzip request of only a few kilobytes. Upon processing, the request expands significantly within the JVM heap, leading to memory exhaustion and a complete denial-of-service for the affected server.</p>
<p>This vulnerability has existed since 2017 and affects multiple versions across the v4, v5, and v6 branches. Because the library is widely used for building HTTP services, this poses a high risk to applications that expose endpoints accepting compressed inputs. Defenders must prioritize upgrading to the patched versions or implementing protective measures at the network edge to inspect or reject oversized request payloads.</p>
<h2 id="impact">Impact</h2>
<p>Successful exploitation results in service unavailability due to JVM OutOfMemory errors. Any application using the affected http4k filters to process incoming requests is susceptible to unauthenticated remote exploitation. Impact is restricted to availability (DoS); there is no evidence of remote code execution or data exfiltration associated with this vulnerability.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade <code>http4k-core</code> to the patched versions: 4.51.0.0, 5.42.0.0, or 6.49.0.0 immediately to apply the default 10MB decompression limit.</li>
<li>Implement request body size limits at the edge (Load Balancer, Reverse Proxy, or WAF) to drop excessively large or potentially malicious compressed requests before they reach the application layer.</li>
<li>For legacy applications that cannot be updated, implement a custom filter in the http4k pipeline that restricts the size of the <code>InputStream</code> before decompression occurs.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>denial-of-service</category><category>vulnerability</category><category>web-server</category></item></channel></rss>