VDB

CVE-2022-2880

CVE-2022-2880 PUBLISHED

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.

PackageEcosystemFixed in
stdlibGo Modules1.19.2, 1.18.7
net/http/httputilGo Modules1.19.2, 1.18.7
golangAmazon Linux1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.2
golang-docsAmazon Linux1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.2
golang-raceAmazon Linux1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.2
golang-miscAmazon Linux1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.2
kubeflow-katibChainguard0.19.0-r40, 0.19.0-r31
goAlpine1.19.2-r0, 1.18.7-r0
golangBitnami1.19.2, 1.18.7
golang-srcAmazon Linux1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.2
golang-sharedAmazon Linux1.19.8-1.amzn2023.0.1, 1.18.9-1.amzn2.0.2
golang-testsAmazon Linux1.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

VendorProductVersions
Go standard librarynet/http/httputil0, 1.19.0-0
amazon:2023golang0
amazon:2023golang-docs0
amazon:2golang-race0
amazon:2023golang-misc0
amazon:2golang0
chainguardkubeflow-katib0, 0
alpinego0, 0
golanggo
amazon:2golang-src0
amazon:2023golang-race0
amazon:2023golang-src0
amazon:2golang-misc0
amazon:2golang-shared0
amazon:2golang-tests0
amazon:2023golang-tests0
amazon:2golang-docs0
Go standard librarynet/http/httputil0, 1.19.0-0
wolfikubeflow-katib0, 0
amazon:2golang-bin0

…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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›