Skip to content

[GHSA-w4f7-4cxr-rv3c] cowboy and gun affected by an HTTP Request/Response Splitting vulnerability - #8906

Open
StrongOliverV wants to merge 1 commit into
StrongOliverV/advisory-improvement-8906from
StrongOliverV-GHSA-w4f7-4cxr-rv3c
Open

[GHSA-w4f7-4cxr-rv3c] cowboy and gun affected by an HTTP Request/Response Splitting vulnerability#8906
StrongOliverV wants to merge 1 commit into
StrongOliverV/advisory-improvement-8906from
StrongOliverV-GHSA-w4f7-4cxr-rv3c

Conversation

@StrongOliverV

Copy link
Copy Markdown

Updates

  • Affected products

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 4f35609 against 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_headers defaults to raise, applied in gun:request/6, headers/5, connect/4 and both ws_upgrade arities.

The consequence of the current data is that mix hex.audit reports 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.

@github-actions
github-actions Bot changed the base branch from main to StrongOliverV/advisory-improvement-8906 July 31, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant