{"id":"CVE-2022-32148","published":"2022-08-09T20:18:21Z","modified":"2026-03-06T19:06:52Z","title":"Exposure of client IP addresses in net/http","vendor":"Go standard library","product":"net/http","tier":"tail","description":{"text":"Improper exposure of client IP addresses in net/http before Go 1.17.12 and Go 1.18.4 can be triggered by calling httputil.ReverseProxy.ServeHTTP with a Request.Header map containing a nil value for the X-Forwarded-For header, which causes ReverseProxy to set the client IP as the value of the X-Forwarded-For header.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01517,"percentile":0.75172,"provenance":"source"},"cwes":[],"references":[{"url":"https://go.dev/cl/412857","tags":[]},{"url":"https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a","tags":[]},{"url":"https://go.dev/issue/53423","tags":[]},{"url":"https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE","tags":[]},{"url":"https://pkg.go.dev/vuln/GO-2022-0520","tags":[]}],"priority":{"score":19.6,"factors":[{"name":"EPSS percentile","points":15.03},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"go-standard-library","affectedVersions":[{"vendor":"Go standard library","product":"net/http","versions":["< 1.17.12",">= 1.18.0-0, < 1.18.4"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-02-23T08:15:49.791308Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"stdlib","vulnerableRanges":["<1.17.12",">=1.18.0-0, <1.18.4"],"patched":["1.17.12","1.18.4"],"from":["GO-2022-0520"],"provenance":"source"}],"summary":{"text":"The net/http package in the Go standard library, before Go 1.17.12 and Go 1.18.4, improperly exposes client IP addresses when httputil.ReverseProxy.ServeHTTP is called with a Request.Header map that contains a nil value for X-Forwarded-For, causing the proxy to write the client IP into that header. An attacker who can send network requests that reach such a reverse proxy can exploit this without authenticating or requiring any user interaction, provided the proxy is invoked with a request carrying the nil X-Forwarded-For header.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:18:04Z"},"euvd":{"id":"EUVD-2022-53387","exploited":false,"provenance":"source"}}