Improper Exposure of Client IP Addresses in Go's net/http Package

Improper Exposure of Client IP Addresses in Go's net/http Package

CVE-2022-32148 · MEDIUM Severity

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

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.

Learn more about our Web Application Penetration Testing UK.