CVE-2022-32148

6.5 MEDIUM
Published: August 10, 2022 Modified: March 06, 2026
View on NVD

Description

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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://go.dev/cl/412857
Source: security@golang.org
Patch
https://go.dev/issue/53423
Source: security@golang.org
Exploit Issue Tracking Third Party Advisory
https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
Source: security@golang.org
Mailing List Release Notes
https://pkg.go.dev/vuln/GO-2022-0520
Source: security@golang.org
Vendor Advisory
https://go.dev/cl/412857
Source: af854a3a-2127-422b-91ae-364da2661108
Patch
https://go.dev/issue/53423
Source: af854a3a-2127-422b-91ae-364da2661108
Exploit Issue Tracking Third Party Advisory
https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Patch
https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
Source: af854a3a-2127-422b-91ae-364da2661108
Mailing List Release Notes
https://pkg.go.dev/vuln/GO-2022-0520
Source: af854a3a-2127-422b-91ae-364da2661108
Vendor Advisory

10 reference(s) from NVD

Quick Stats

CVSS v3 Score
6.5 / 10.0
EPSS (Exploit Probability)
0.1%
17th percentile
Exploitation Status
Not in CISA KEV

Affected Vendors

golang