blob: 3f12f7ea4f4b5a8ee3597dc7e6deb4d0b0f0d11a [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2022-1038",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2022-2880"
],
"summary": "Incorrect sanitization of forwarded query parameters in net/http/httputil",
"details": "Requests forwarded by ReverseProxy include the raw query parameters from the inbound request, including unparsable parameters rejected by net/http. This could permit query parameter smuggling when a Go proxy forwards a parameter with an unparsable value.\n\nAfter fix, ReverseProxy sanitizes the query parameters in the forwarded query when the outbound request's Form field is set after the ReverseProxy. Director function returns, indicating that the proxy has parsed the query parameters. Proxies which do not parse query parameters continue to forward the original query parameters unchanged.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.18.7"
},
{
"introduced": "1.19.0-0"
},
{
"fixed": "1.19.2"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "net/http/httputil",
"symbols": [
"ReverseProxy.ServeHTTP"
]
}
]
}
}
],
"references": [
{
"type": "REPORT",
"url": "https://go.dev/issue/54663"
},
{
"type": "FIX",
"url": "https://go.dev/cl/432976"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/xtuG5faxtaU"
}
],
"credits": [
{
"name": "Gal Goldstein (Security Researcher, Oxeye)"
},
{
"name": "Daniel Abeles (Head of Research, Oxeye)"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-1038",
"review_status": "REVIEWED"
}
}