Vulnerability in Golang Go
CVE-2022-32148
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.
EPSS: 0.014 (69.3th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N.
Affected products
- Golang Go
- Go Standard Library Net/http — versions 0, 1.18.0-0
Public proof-of-concept exploits
References
- security@golang.org (Patch)
- security@golang.org (Patch, Mailing List)
- security@golang.org (Exploit, Third Party Advisory, Issue Tracking)
- security@golang.org (Mailing List, Release Notes)
- security@golang.org (Vendor Advisory)
Frequently asked questions
- What is CVE-2022-32148?
- CVE-2022-32148 is a medium-severity vulnerability in Golang Go, classified under CWE-200: INFORMATION EXPOSURE. CVSS score: 6.5/10. Published 2022-08-10.
- How severe is CVE-2022-32148?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2022-32148 known to be exploited?
- 9 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.