CVE-2022-32148
CVE-2022-32148 · Exposure of client IP addresses in net/http
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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 6.5 · Medium · EPSS 1.5% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
net/http
- Versions
- ≥ 0, < 1.17.12: Affected (semver)
- ≥ 1.18.0-0, < 1.18.4: Affected (semver)
Update to 1.17.12; Update to 1.18.4
golang-1.19 Debian:12
- Affected ranges
- ECOSYSTEM: < 1.19~rc1-1
Update to 1.19~rc1-1
golang-1.13 Ubuntu:Pro:16.04:LTS
- Versions
- 1.13.8-1ubuntu1~16.04.2
- 1.13.8-1ubuntu1~16.04.3
- 1.13.8-1ubuntu1~16.04.3+esm2
- Affected ranges
- ECOSYSTEM: < 1.13.8-1ubuntu1~16.04.3+esm3
Update to 1.13.8-1ubuntu1~16.04.3+esm3
golang-1.18 Ubuntu:18.04:LTS
- Versions
- 1.18.1-1ubuntu1~18.04.3
- Affected ranges
- ECOSYSTEM: < 1.18.1-1ubuntu1~18.04.4
Update to 1.18.1-1ubuntu1~18.04.4
golang-1.13 Ubuntu:Pro:18.04:LTS
- Versions
- 1.13.8-1ubuntu1~18.04.2
- 1.13.8-1ubuntu1~18.04.3
- 1.13.8-1ubuntu1~18.04.4
- Affected ranges
- ECOSYSTEM: < 1.13.8-1ubuntu1~18.04.4+esm1
Update to 1.13.8-1ubuntu1~18.04.4+esm1
golang-1.16 Ubuntu:Pro:18.04:LTS
- Versions
- 1.16.2-0ubuntu1~18.04.2
- Affected ranges
- ECOSYSTEM: < 1.16.2-0ubuntu1~18.04.2+esm1
Update to 1.16.2-0ubuntu1~18.04.2+esm1
golang-1.13 Ubuntu:20.04:LTS
- Versions
- 1.13.1-1ubuntu1
- 1.13.3-1ubuntu1
- 1.13.4-1ubuntu1
- 1.13.5-1ubuntu1
- 1.13.6-1ubuntu1
- 1.13.6-2ubuntu1
- 1.13.7-1ubuntu1
- 1.13.8-1ubuntu1
- 1.13.8-1ubuntu1.1
- Affected ranges
- ECOSYSTEM: < 1.13.8-1ubuntu1.2
Update to 1.13.8-1ubuntu1.2
golang-1.16 Ubuntu:20.04:LTS
- Versions
- 1.16.2-0ubuntu1~20.04
- Affected ranges
- ECOSYSTEM: < 1.16.2-0ubuntu1~20.04.1
Update to 1.16.2-0ubuntu1~20.04.1
golang-1.18 Ubuntu:20.04:LTS
- Versions
- 1.18.1-1ubuntu1~20.04.1
- Affected ranges
- ECOSYSTEM: < 1.18.1-1ubuntu1~20.04.2
Update to 1.18.1-1ubuntu1~20.04.2
golang-1.13 Ubuntu:22.04:LTS
- Versions
- 1.13.8-1ubuntu2
- 1.13.8-1ubuntu2.22.04.1
- Affected ranges
- ECOSYSTEM: < 1.13.8-1ubuntu2.22.04.2
Update to 1.13.8-1ubuntu2.22.04.2
golang-1.18 Ubuntu:22.04:LTS
- Versions
- 1.18~beta1-0ubuntu1
- 1.18~beta2-1ubuntu1
- 1.18~beta2-1ubuntu2
- 1.18~rc1-1ubuntu1
- 1.18-1ubuntu1
- 1.18.1-1ubuntu1
- Affected ranges
- ECOSYSTEM: < 1.18.1-1ubuntu1.1
Update to 1.18.1-1ubuntu1.1