High severity · published Oct 14, 2022
CVE-2022-2880
Incorrect sanitization of forwarded query parameters in net/http/httputil
7.5
CVSS
1.4%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.4% · higher than 72% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NE
net/http/httputil · Go standard library
before 1.18.7; 1.19.0-0 before 1.19.2 · source: vendor
GO
GO · Golang
before 1.18.7; 1.19.0 before 1.19.2 · source: NVD
Affected product
NE
net/http/httputil
Go standard library
More from net/http/httputil
7.5
CVE-2026-56866
HTTP/1 client connection desynchronization after CONNECT rejection in net/http
5.3
CVE-2026-39825
ReverseProxy forwards queries with more than urlmaxqueryparams parameters in net/http/httputil