CVE-2022-32148

Exposure of client IP addresses in net/http

MEDIUM
6.5
CVSS Score
Published: August 9, 2022 at 08:18 PM UTC
Updated: June 17, 2026 at 04:46 AM UTC
2 products affected across 2 vendorsGo.NET

Using net/http by Go standard library?

Get instant alerts when new vulnerabilities affect net/http - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.17.121.18.0 ≤ v < 1.18.4
Affected range stops below 1.17.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.18.4, so it looks safe — our inference, not a vendor statement
v < 1.17.121.18.0-0 ≤ v < 1.18.41.18.0-0
Affected range stops below 1.17.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.18.4, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

6.5MEDIUMCISA-ADP
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card