# CVE-2022-32148: Exposure of client IP addresses in net/http

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-08-09 · Modified: 2026-03-06
- Aliases: UBUNTU-CVE-2022-32148, DEBIAN-CVE-2022-32148, GO-2022-0520, BIT-golang-2022-32148, ALPINE-CVE-2022-32148
- Record: https://cvemate.com/vulnerability/CVE-2022-32148 · JSON: https://cvemate.com/vulnerability/CVE-2022-32148/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 1.517%, percentile 75.426%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected

- alpine go (Alpine Linux): ≥ 1.18.0, \< 1.18.4-r0
- debian golang-1.19 (Debian): \< 1.19~rc1-1
- ubuntu golang-1.13 (Ubuntu): \< 1.13.8-1ubuntu1~16.04.3+esm3 \| \< 1.13.8-1ubuntu1~18.04.4+esm1 \| \< 1.13.8-1ubuntu1.2 \| \< 1.13.8-1ubuntu2.22.04.2
- ubuntu golang-1.16 (Ubuntu): \< 1.16.2-0ubuntu1~18.04.2+esm1 \| \< 1.16.2-0ubuntu1~20.04.1
- ubuntu golang-1.18 (Ubuntu): \< 1.18.1-1ubuntu1~18.04.4 \| \< 1.18.1-1ubuntu1~20.04.2 \| \< 1.18.1-1ubuntu1.1
- go standard library net/http: \< 1.17.12 \| ≥ 1.18.0-0, \< 1.18.4
- golang go: \< 1.17.12 \| ≥ 1.18.0, \< 1.18.4
- Go stdlib (Go): ≥ 1.18.0-0, \< 1.18.4

## References

- <https://go.dev/cl/412857>
- <https://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a>
- <https://go.dev/issue/53423>
- <https://groups.google.com/g/golang-announce/c/nqrv9fbR0zE>
- <https://pkg.go.dev/vuln/GO-2022-0520>
- <https://ubuntu.com/security/CVE-2022-32148>
- <https://github.com/golang/go/commit/ebea1e3353fa766025aa5190b9c7cc05cf069187>
- <https://ubuntu.com/security/notices/USN-6038-1>
- <https://ubuntu.com/security/notices/USN-6038-2>
- <https://www.cve.org/CVERecord?id=CVE-2022-32148>
- <https://security-tracker.debian.org/tracker/CVE-2022-32148>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-32148>
- <https://security.alpinelinux.org/vuln/CVE-2022-32148>

---

Data as of 2026-12-05T07:37:17.794Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
