CVE-2023-29406
Insufficient sanitization of Host header in net/http
Reported by go · Published July 11, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| net/http | Go Modules | 1.20.6, 1.19.11 |
| stdlib | Go Modules | 1.20.6, 1.19.11 |
| golang-src | Amazon Linux | 1.20.6-1.amzn2023.0.1, 1.20.6-1.amzn2.0.1 |
| kind | Wolfi | 0.21.0-r0 |
| kind | Chainguard | 0.21.0-r0 |
| cri-tools | Amazon Linux | 1.26.1-1.amzn2.0.1 |
| golist | Amazon Linux | 0.10.1-10.amzn2.0.3 |
| git-lfs | errata.rockylinux.org | 3.4.1-10.el8 |
| golang-misc | Amazon Linux | 1.20.6-1.amzn2023.0.1, 1.20.6-1.amzn2.0.1 |
| golang-docs | Amazon Linux | 1.20.6-1.amzn2023.0.1, 1.20.6-1.amzn2.0.1 |
| golang | Bitnami | 1.20.6, 1.19.11 |
| go | Alpine | 1.20.7-r0, 1.20.6-r0 |
26 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | net/http | 0, 1.20.0-0 |
| amazon:2023 | golang-src | 0 |
| wolfi | kind | 0 |
| chainguard | kind | 0 |
| amazon:2 | cri-tools | 0 |
| amazon:2 | golist | 0 |
| amazon:2 | golang-misc | 0 |
| amazon:2 | golang-docs | 0 |
| alpine | go | 0, 0 |
| Go standard library | net/http | 1.20.0-0, 0 |
| wolfi | go-1.20 | 0 |
| amazon:2 | nerdctl | 0 |
| amazon:2023 | ecs-init | 0 |
| amazon:2023 | cni-plugins | 0 |
| amazon:2023 | docker | 0 |
| chainguard | go-1.20 | 0 |
| amazon:2023 | golang-docs | 0 |
| wolfi | falco | 0 |
| chainguard | kubeflow-katib | 0, 0 |
| amazon:2023 | nerdctl | 0 |
…and 22 more
Timeline
- Jul 11, 2023 CVE Published
- Jul 12, 2023 EPSS Score (30 in total, the first dated here)
- Feb 13, 2026 CVE Updated
- Mar 10, 2026 Security Advisory (30 in total, the first dated here)
- Nov 22, 2026 Distribution Patch (26 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-29406
vulnetix vdb fixes CVE-2023-29406
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-29406/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- EP3_Redes exploit