CVE-2022-32148Sensitive Information Exposure in Standard Library NET Http

Severity
6.5MEDIUMNVD
EPSS
0.1%
top 82.55%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedAug 10
Latest updateJan 9

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:NExploitability: 3.9 | Impact: 2.5

Affected Packages2 packages

CVEListV5go_standard_library/net_http1.18.0-01.18.4+1
NVDgolang/go1.18.01.18.4+1

Patches

🔴Vulnerability Details

4
GHSA
GHSA-f839-v4x8-wvr3: Improper exposure of client IP addresses in net/http before Go 12022-08-11
OSV
CVE-2022-32148: Improper exposure of client IP addresses in net/http before Go 12022-08-10
CVEList
Exposure of client IP addresses in net/http2022-08-09
OSV
Exposure of client IP addresses in net/http2022-07-28

📋Vendor Advisories

5
Ubuntu
Go vulnerabilities2024-01-09
Ubuntu
Go vulnerabilities2023-04-25
Microsoft
Exposure of client IP addresses in net/http2022-08-09
Red Hat
golang: net/http/httputil: NewSingleHostReverseProxy - omit X-Forwarded-For not working2022-07-12
Debian
CVE-2022-32148: golang-1.15 - Improper exposure of client IP addresses in net/http before Go 1.17.12 and Go 1....2022
CVE-2022-32148 — Sensitive Information Exposure | cvebase