Requests forwarded by ReverseProxy include the raw query parameters from the inbound request, including unparseable parameters rejected by net/http. This could permit query parameter smuggling when a Go proxy forwards a parameter with an unparseable value. After 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.
References
Link | Resource |
---|---|
https://go.dev/issue/54663 | Exploit Issue Tracking Third Party Advisory |
https://groups.google.com/g/golang-announce/c/xtuG5faxtaU | Mailing List Release Notes |
https://go.dev/cl/432976 | Patch |
https://pkg.go.dev/vuln/GO-2022-1038 | Vendor Advisory |
Configurations
Information
Published : 2022-10-14 08:15
Updated : 2023-03-03 07:42
NVD link : CVE-2022-2880
Mitre link : CVE-2022-2880
JSON object : View
CWE
CWE-444
Inconsistent Interpretation of HTTP Requests ('HTTP Request Smuggling')
Products Affected
golang
- go