VDB

CVE-2023-29406

CVE-2023-29406 PUBLISHED

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.

PackageEcosystemFixed in
net/httpGo Modules1.20.6, 1.19.11
stdlibGo Modules1.20.6, 1.19.11
golang-srcAmazon Linux1.20.6-1.amzn2023.0.1, 1.20.6-1.amzn2.0.1
kindWolfi0.21.0-r0
kindChainguard0.21.0-r0
cri-toolsAmazon Linux1.26.1-1.amzn2.0.1
golistAmazon Linux0.10.1-10.amzn2.0.3
git-lfserrata.rockylinux.org3.4.1-10.el8
golang-miscAmazon Linux1.20.6-1.amzn2023.0.1, 1.20.6-1.amzn2.0.1
golang-docsAmazon Linux1.20.6-1.amzn2023.0.1, 1.20.6-1.amzn2.0.1
golangBitnami1.20.6, 1.19.11
goAlpine1.20.7-r0, 1.20.6-r0

26 more packages have a fixed version. See every fix in Lookup.

Affected products

VendorProductVersions
Go standard librarynet/http0, 1.20.0-0
amazon:2023golang-src0
wolfikind0
chainguardkind0
amazon:2cri-tools0
amazon:2golist0
amazon:2golang-misc0
amazon:2golang-docs0
alpinego0, 0
Go standard librarynet/http1.20.0-0, 0
wolfigo-1.200
amazon:2nerdctl0
amazon:2023ecs-init0
amazon:2023cni-plugins0
amazon:2023docker0
chainguardgo-1.200
amazon:2023golang-docs0
wolfifalco0
chainguardkubeflow-katib0, 0
amazon:2023nerdctl0

…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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›