CVE-2022-2880
Incorrect sanitization of forwarded query parameters in net/http/httputil
- Published
- Updated
- Reserved
- Assigned by
- Go
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 1.4% · top 27% of all CVEs (6 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
- CWE-444: Inconsistent Interpretation of HTTP Requests
- CWE-444 (opens in a new tab)All about CWE-444 and its CVEs
Affected products
Go standard library · net/http/httputil
- affected < 1.18.7
- affected 1.19.0-0 – < 1.19.2
References (5)
- https://go.dev/issue/54663 (opens in a new tab)x_transferred
- https://go.dev/cl/432976 (opens in a new tab)x_transferred
- https://groups.google.com/g/golang-announce/c/xtuG5faxtaU (opens in a new tab)x_transferred
- https://pkg.go.dev/vuln/GO-2022-1038 (opens in a new tab)x_transferred
- https://security.gentoo.org/glsa/202311-09 (opens in a new tab)x_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-2880)Record last updated .