HTTP Request Smuggling Affecting std/net/http/httputil package, versions <1.18.7>=1.19.0-0 <1.19.2


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (9th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-STDNETHTTPHTTPUTIL-14548566
  • published6 Jan 2026
  • disclosed6 Oct 2022
  • creditGal Goldstein, Daniel Abeles

Introduced: 6 Oct 2022

CVE-2022-2880  (opens in a new tab)
CWE-444  (opens in a new tab)

How to fix?

Upgrade std/net/http/httputil to version 1.18.7, 1.19.2 or higher.

Overview

std/net/http/httputil is a Go standard library package std/net/http/httputil

Affected versions of this package are vulnerable to HTTP Request Smuggling.

Go Vulnerability Report:
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 Base Scores

version 4.0
version 3.1