CVE-2022-32148
Exposure of client IP addresses in net/http
6.5
MEDIUM
CVSS 3.1
EPSS 0.06%
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.
How to fix CVE-2022-32148
To remediate CVE-2022-32148, upgrade the affected package to a fixed version below.
- —upgrade to 1.17.12 or later
- —no fix listed
- —upgrade to 1.19~rc1-1 or later
- —upgrade to 1.17.12 or later
Is CVE-2022-32148 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 1.17.12, >= 1.18.0, < 1.18.4
- from 0
- from 0, < 1.19~rc1-1
- from 0, < 1.17.12, >= 1.18.0-0, < 1.18.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |