Vulnerability Report: GO-2022-1038
- CVE-2022-2880
- Affects: net/http/httputil
- Published: Oct 06, 2022
- Modified: Jun 12, 2023
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. 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.
Affected Packages
-
PathVersionsSymbols
-
before go1.18.7, from go1.19.0-0 before go1.19.2
Aliases
References
- https://go.dev/issue/54663
- https://go.dev/cl/432976
- https://groups.google.com/g/golang-announce/c/xtuG5faxtaU
- https://vuln.go.dev/ID/GO-2022-1038.json
Credits
- Gal Goldstein (Security Researcher, Oxeye)Daniel Abeles (Head of Research, Oxeye)
Feedback
See anything missing or incorrect?
Suggest an edit to this report.