First published: Tue Jul 11 2023(Updated: )
Golang Go is vulnerable to HTTP header injection, caused by improper contents validation of Host header by the HTTP/1 client. By persuading a victim to visit a specially crafted Web page, a remote attacker could exploit this vulnerability to inject arbitrary HTTP headers, which will allow the attacker to conduct various attacks against the vulnerable system, including cross-site scripting, cache poisoning or session hijacking.
Credit: security@golang.org security@golang.org security@golang.org
Affected Software | Affected Version | How to fix |
---|---|---|
Golang Go | >=1.20.0<1.20.6 | |
Golang Go | <1.19.11 | |
redhat/golang | <1.19.11 | 1.19.11 |
redhat/golang | <1.20.6 | 1.20.6 |
debian/golang-1.15 | <=1.15.15-1~deb11u4 | |
debian/golang-1.19 | <=1.19.8-2 | |
IBM Concert Software | <=1.0.0 - 1.0.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2023-29406 is a vulnerability in the HTTP/1 client in Golang, which allows a maliciously crafted Host header to inject additional headers or entire requests.
CVE-2023-29406 has a severity value of 6.5, which is considered medium.
CVE-2023-29406 affects Golang Go versions from 1.20.0 up to and including 1.20.6, as well as versions up to and including 1.19.11.
To fix CVE-2023-29406, update to Golang Go version 1.20.7 or 1.19.12 or later.
The references for CVE-2023-29406 are: - https://groups.google.com/g/golang-announce/c/2q13H6LEEx0 - https://go.dev/cl/506996 - https://pkg.go.dev/vuln/GO-2023-1878