GO-2021-0241

Source
https://pkg.go.dev/vuln/GO-2021-0241
Import Source
https://vuln.go.dev/ID/GO-2021-0241.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2021-0241
Aliases
Published
2022-02-17T17:33:16Z
Modified
2024-05-20T16:03:47Z
Summary
Attacker can drop certain headers in net/http/httputil
Details

ReverseProxy can be made to forward certain hop-by-hop headers, including Connection. If the target of the ReverseProxy is itself a reverse proxy, this lets an attacker drop arbitrary headers, including those set by the ReverseProxy.Director.

References
Credits
    • Mattias Grenfeldt (https://grenfeldt.dev)
    • Asta Olofsson

Affected packages

Go / stdlib

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.15.13
Introduced
1.16.0-0
Fixed
1.16.5

Ecosystem specific

{
    "imports": [
        {
            "path": "net/http/httputil",
            "symbols": [
                "ReverseProxy.ServeHTTP"
            ]
        }
    ]
}