CVE-2022-2880
Incorrect sanitization of forwarded query parameters in net/http/httputil
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.
How to fix CVE-2022-2880
To remediate CVE-2022-2880, upgrade the affected package to a fixed version below.
- —upgrade to 1.18.7 or later
- —no fix listed
- —upgrade to 1.19.2-1 or later
- —upgrade to 1.18.7 or later
Is CVE-2022-2880 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.18.7, >= 1.19.0, < 1.19.2
- from 0
- from 0, < 1.19.2-1
- from 0, < 1.18.7, >= 1.19.0-0, < 1.19.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |