Skip to content

v2.26.0

Latest

Choose a tag to compare

@mccutchen mccutchen released this 15 Oct 14:18
8b1bc14

🔐 Security vulnerability 🔐

Warning

This release addresses an unbounded memory allocation denial of service vulnerability (GHSA-m6j5-42w4-55c3) in the /websocket/echo endpoint: A single crafted websocket frame can crash any go-httpbin server, including programs that embed the httpbin package, by declaring a huge payload length that the server will attempt to allocate before checking it against the configured size limits.

The attack needs no authentication and only one small request, and the resulting out-of-memory error kills the whole process rather than just the one connection. Versions v2.13.0 through v2.25.x are affected; upgrade to v2.26.0, which checks frame and message size limits before allocating.

Many thanks to @lucky07072026 for the report, and many apologies from @mccutchen for this "network protocols 101"-level bug!

What's Changed

New Contributors

Full Changelog: v2.25.0...v2.26.0