[GHSA-w4f7-4cxr-rv3c] cowboy and gun affected by an HTTP Request/Response Splitting vulnerability - #8906
Open
StrongOliverV wants to merge 1 commit into
Conversation
github-actions
Bot
changed the base branch from
main
to
StrongOliverV/advisory-improvement-8906
July 31, 2026 02:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates
Comments
The patched version listed for the gun (Hex) package appears to be incorrect: it reads 2.16.0, which is cowboy's fixed version. Gun has never released a 2.16.0 (the latest is 2.5.0), so the range resolves to "all published versions are affected."
This advisory's own reference for the gun-side fix is ninenines/gun@4f35609 ("Add invalid_request_headers request option", 2026-05-29). That commit is contained in tags 2.4.0, 2.4.1 and 2.5.0 (
git tag --contains 4f35609against ninenines/gun), and 2.4.0 was tagged on 2026-06-08. Gun rejects CR/LF in request header values by default from 2.4.0 onward —invalid_request_headersdefaults toraise, applied ingun:request/6,headers/5,connect/4and bothws_upgradearities.The consequence of the current data is that
mix hex.auditreports this advisory against every gun version, including releases that contain the referenced fix. Please set gun's patched version to 2.4.0 and its affected range to < 2.4.0.