ReverseProxy forwards queries with more than urlmaxqueryparams parameters in net/http/httputil
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.25.10, 1.26.3 and stdlib 1.26.3.
ReverseProxy can forward queries containing parameters not visible to Rewrite functions. When used with a Rewrite function, or a Director function which parses query parameters, ReverseProxy sanitizes the forwarded request to remove query parameters which are not parsed by url.ParseQuery. ReverseProxy does not take ParseQuery's limit on the total number of query parameters (controlled by GODEBUG=urlmaxqueryparams=N) into account. This can permit ReverseProxy to forward a request containing a query parameter that is not visible to the Rewrite function. For example, the query "a1=x&a2=x&...&a10000=x&hidden=y" can forward the parameter "hidden=y" while hiding it from the proxy's Rewrite function.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Go standard library | <1.25.10, >=1.26.0-0 <1.26.3 | 1.25.10, 1.26.3 | |
| go: stdlib | >=1.26.0-0 <1.26.3 | 1.26.3 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in stdlib (Go), strongest first
Embed
A live severity badge for an advisory, README or ticket