# CVE-2022-2880: Incorrect sanitization of forwarded query parameters in net/http/httputil

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.41%, higher than 73% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-10-06T16:42:43.000Z
- Modified: 2026-09-08T08:47:48.763Z
- Also known as: GO-2022-1038, BIT-GOLANG-2022-2880
- Related: CGA-7j47-553v-rr4j
- Weaknesses: CWE-444
- 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.

(As written by CVE List.)

## Affected

- net/http/httputil: before 1.18.7; from 1.19.0-0 before 1.19.2
- stdlib (Go): before 1.18.7; from 1.19.0-0 before 1.19.2
- golang go: before 1.18.7; from 1.19.0 before 1.19.2
- golang (Bitnami): before 1.18.7; from 1.19.0 before 1.19.2

## Every score

- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://go.dev/issue/54663> (exploit, advisory, issue-tracking, report, third-party-advisory)
- <https://go.dev/cl/432976> (fix, patch)
- <https://groups.google.com/g/golang-announce/c/xtuG5faxtaU> (discussion, mailing-list, release-notes, web)
- <https://pkg.go.dev/vuln/GO-2022-1038> (advisory, vendor-advisory)
- <https://security.gentoo.org/glsa/202311-09> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-2880> (web)

## Sources

- CVE List: [CVE-2022-2880](https://www.cve.org/CVERecord?id=CVE-2022-2880), CVE Terms of Use, modified 2025-02-13
- Go Vulnerability Database: [GO-2022-1038](https://pkg.go.dev/vuln/GO-2022-1038), CC-BY-4.0, modified 2026-07-15
- NVD: [CVE-2022-2880](https://nvd.nist.gov/vuln/detail/CVE-2022-2880), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2022-2880](https://osv.dev/vulnerability/BIT-GOLANG-2022-2880), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2022-2880 · Whole record: https://cve.day/CVE-2022-2880.json · Rebuilt by cve.day 2026-11-25T22:58:15.697Z
