CVE-2022-32148

published 9 Aug 2022 · updated 16 Nov 2026

Exposure of client IP addresses in net/http

6.5MediumCVSS 6.5EPSS 2%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 2%. Fixed in 1.17.12 and 1.18.4.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
Go standard library<1.17.12, >=1.18.0-0 <1.18.41.17.12, 1.18.4

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-32148 severity on Zeptric[![CVE-2022-32148](https://zeptric.io/badge/cve/CVE-2022-32148.svg)](https://zeptric.io/cve/CVE-2022-32148)