Vulnerability in Golang Go
CVE-2022-32148
- CVSS v3
- 6.5 Medium
- Public exploits
- None known
- EPSS
- 0.015 · 75.0th percentile
- Published
- 2022-08-10
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.
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.015, 75.0th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Golang Go
- Go Standard Library Net/http — versions 0, 1.18.0-0
Public exploits and proof-of-concept code
Also mentioned in 9 other repositories (8-cm/kube-dump, agadecki/malware-cryptominer-container, ARPSyndicate/cvemon, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- go.dev/cl/412857 (Patch)
- go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a (Patch, Mailing List)
- go.dev/issue/53423 (Exploit, Third Party Advisory, Issue Tracking)
- groups.google.com/g/golang-announce/c/nqrv9fbR0zE (Mailing List, Release Notes)
- pkg.go.dev/vuln/GO-2022-0520 (Vendor Advisory)