CVE-2022-32148
MEDIUM6.5EPSS 0.06%Exposure of client IP addresses in net/http
發布日:2022/7/28修改日:2026/4/28
描述
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.
受影響套件(4)
- Bitnami/golangfrom 0, < 1.17.12, >= 1.18.0, < 1.18.4
- Debian/golang-1.15from 0
- Debian/golang-1.19from 0, < 1.19~rc1-1
- Go/stdlibfrom 0, < 1.17.12, >= 1.18.0-0, < 1.18.4
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| 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 |
參考連結(7)
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-32148
- PATCHhttps://go.dev/cl/412857
- PATCHhttps://go.googlesource.com/go/+/b2cc0fecc2ccd80e6d5d16542cc684f97b3a9c8a
- REPORThttps://go.dev/issue/53423
- WEBhttps://groups.google.com/g/golang-announce/c/nqrv9fbR0zE
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2022-32148
- WEBhttps://pkg.go.dev/vuln/GO-2022-0520