CVE-2022-2880

Incorrect sanitization of forwarded query parameters in net/http/httputil

State
Published
Severity
Not scored
Published
Oct 14, 2022
Updated
Feb 13, 2025
Reserved
Aug 17, 2022

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
net/http/httputilGo standard library
  • before 1.18.7Affected
  • 1.19.0-0 to before 1.19.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.