CVE-2022-32148

MEDIUMCVSS 6.5/10EPSS 1.10%

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
6.5/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

EPSS Probability
1.10%

61.6th percentile

Probability of exploitation in the next 30 days. Learn more

Affected Software

VendorProductVersions
GolangGo< 1.17.12
GolangGo>= 1.18.0, < 1.18.4

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is 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.
How severe is CVE-2022-32148?
CVE-2022-32148 has a CVSS score of 6.5/10 (MEDIUM severity). The EPSS model estimates a 1.10% probability of exploitation in the next 30 days.
How do I fix CVE-2022-32148?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-32148?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST