CVE-2022-2880Golang Go
High 7.5 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 70
- Auth required
- No
- Published
- Oct 14, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-444
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.18.7 |
1.18.7 |
go get stdlib@v1.18.7 |
| Go | stdlib |
≥ 1.19.0-0 < 1.19.2 |
1.19.2 |
go get stdlib@v1.19.2 |
Per OSV / GitHub Advisories (GO-2022-1038). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.18.7 |
| golang | go | ≥ 1.19.0 < 1.19.2 |
Official advisories
- Red Hat Security Advisory: container-tools:rhel8 security update · Red Hat · RHSA-2024:3254 · Oct 22, 2024 High
- Red Hat Security Advisory: Red Hat Service Interconnect 1.4 Release security update · Red Hat · RHSA-2023:4003 · Oct 2, 2024 Medium
- Red Hat Security Advisory: OpenShift Container Platform 4.12.3 security update · Red Hat · RHSA-2023:0727 · Sep 30, 2024 Medium
Also: Red Hat (+1)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- go.dev Patch
- go.dev Exploit Issue Tracking Third Party Advisory
- groups.google.com Mailing List Release Notes
- pkg.go.dev Vendor Advisory
- security.gentoo.org