CVE-2022-2880
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
- golang go1.18.7, 1.19.2 or later
- stdlib1.18.7, 1.19.2 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v < 1.18.7, 1.19.0 ≤ v < 1.19.2 | 1.18.7, 1.19.2 |
| stdlibGo | v < 1.18.7, 1.19.0-0 ≤ v < 1.19.2 | 1.18.7, 1.19.2 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.