CVE-2022-32148
Last modified
CVE-2022-32148 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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 estimates a 1.10% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Golang | Go | < 1.17.12 |
| Golang | Go | >= 1.18.0, < 1.18.4 |
References
- https://go.dev/issue/53423Exploit, Issue Tracking, Third Party Advisory
- https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8aMailing List, Patch
- https://groups.google.com/g/golang-announce/c/nqrv9fbR0zEMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2022-0520Vendor Advisory
- https://go.dev/issue/53423Exploit, Issue Tracking, Third Party Advisory
- https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8aMailing List, Patch
- https://groups.google.com/g/golang-announce/c/nqrv9fbR0zEMailing List, Release Notes
- https://pkg.go.dev/vuln/GO-2022-0520Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-32148?
How severe is CVE-2022-32148?
How do I fix CVE-2022-32148?
Are you affected by CVE-2022-32148?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
