CVE-2023-29406
Medium
Description
The HTTP/1 client does not fully validate the contents of the Host header. A maliciously crafted Host header can inject additional headers or entire requests. With fix, the HTTP/1 client now refuses to send requests containing an invalid Request.Host or Request.URL.Host value.
SeverityMedium
CVSS6.5
Exploit probability—
ProductGo
PublishedJul 11, 2023
First seenJul 11, 2023
Weakness typeCWE-113CWE-113
How to fix
Update
- golang go1.19.11, 1.20.6 or later
- stdlib1.19.11, 1.20.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| golang go | v < 1.19.11, 1.20.0 ≤ v < 1.20.6 | 1.19.11, 1.20.6 |
| stdlibGo | v < 1.19.11, 1.20.0-0 ≤ v < 1.20.6 | 1.19.11, 1.20.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.