CVE-2022-2880
Incorrect sanitization of forwarded query parameters in net/http/httputil
Reported by go · Published October 14, 2022
net/http/httputil is fixed in 1.19.2 and 1.18.7 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| stdlib | Go Modules | 1.19.2, 1.18.7 |
| net/http/httputil | Go Modules | 1.19.2, 1.18.7 |
| golang | Amazon Linux | 1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.2 |
| golang-docs | Amazon Linux | 1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.2 |
| golang-race | Amazon Linux | 1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.2 |
| golang-misc | Amazon Linux | 1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.2 |
| kubeflow-katib | Chainguard | 0.19.0-r40, 0.19.0-r31 |
| go | Alpine | 1.19.2-r0, 1.18.7-r0 |
| golang | Bitnami | 1.19.2, 1.18.7 |
| golang-src | Amazon Linux | 1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.2 |
| golang-shared | Amazon Linux | 1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.2 |
| golang-tests | Amazon Linux | 1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.2 |
4 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | net/http/httputil | 0, 1.19.0-0 |
| amazon:2023 | golang | 0 |
| amazon:2023 | golang-docs | 0 |
| amazon:2 | golang-race | 0 |
| amazon:2023 | golang-misc | 0 |
| amazon:2 | golang | 0 |
| chainguard | kubeflow-katib | 0, 0 |
| alpine | go | 0, 0 |
| golang | go | |
| amazon:2 | golang-src | 0 |
| amazon:2023 | golang-race | 0 |
| amazon:2023 | golang-src | 0 |
| amazon:2 | golang-misc | 0 |
| amazon:2 | golang-shared | 0 |
| amazon:2 | golang-tests | 0 |
| amazon:2023 | golang-tests | 0 |
| amazon:2 | golang-docs | 0 |
| Go standard library | net/http/httputil | 0, 1.19.0-0 |
| wolfi | kubeflow-katib | 0, 0 |
| amazon:2 | golang-bin | 0 |
…and 2 more
Timeline
- Oct 6, 2022 CVE Published
- Oct 15, 2022 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (82 in total, the first dated here)
- Jun 27, 2026 Coalition ESS Score
- Jul 2, 2026 Distribution Patch (78 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-2880
vulnetix vdb fixes CVE-2022-2880
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-2880/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart