stdlib
Affected
- introduced
0, fixed1.17.12, introduced1.18.0-0, fixed1.18.4(semver)
Fixed versions
1.17.12, 1.18.4
Fix
The export has no generic command for this ecosystem.
Advisory
Also known as: BIT-golang-2022-32148, CVE-2022-32148
Exposure of client IP addresses in net/http
Client IP adresses may be unintentionally exposed via X-Forwarded-For headers.
When httputil.ReverseProxy.ServeHTTP is called with a Request.Header map containing a nil value for the X-Forwarded-For header, ReverseProxy sets the client IP as the value of the X-Forwarded-For header, contrary to its documentation.
In the more usual case where a Director function sets the X-Forwarded-For header value to nil, ReverseProxy leaves the header unmodified as expected.
Not rated by the source.
0, fixed 1.17.12, introduced 1.18.0-0, fixed 1.18.4 (semver)1.17.12, 1.18.4
The export has no generic command for this ecosystem.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: Go Vulnerability Database · CC BY 4.0