{"answers":{"affected":"2 open source packages ship an affected version, including golang and stdlib. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-29406 in the wild and no public exploit code.","fix":"Upgrade golang to a fixed version for your release line: 1.19.11 or 1.20.6.","what":"CVE-2023-29406 is a medium-severity vulnerability in Golang Go, published on 11 Jul 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-29406 and fix it if it is affected.\n\nWhat it is: CVE-2023-29406 is a medium-severity vulnerability in Golang Go, published on 11 Jul 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-29406 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- golang (Bitnami): affected all versions; fixed in 1.19.11, 1.20.6\n- stdlib (Go): affected all versions; fixed in 1.19.11, 1.20.6\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2023-29406/ (Markdown: https://insights.sbomify.com/CVE-2023-29406/index.md)","id":"CVE-2023-29406","markdown":"https://insights.sbomify.com/CVE-2023-29406/index.md","name":"CVE-2023-29406","record":{"aliases":["ALSA-2023:7202","AZL-27410","AZL-28831","AZL-37418","AZL-37420","AZL-52711","AZL-79070","AZL-98610","BIT-golang-2023-29406","DEBIAN-CVE-2023-29406","GHSA-f8f7-69v5-w4vx","GO-2023-1878","MINI-253v-9f4c-4cw5","OESA-2023-1498","OESA-2023-1500","OESA-2023-1501","OESA-2023-1502","OESA-2024-1582","OESA-2024-1584","OESA-2024-1643","RHBA-2024:2274","RHBA-2024:3053","RHSA-2023:7202","RLSA-2023:7202","SUSE-SU-2023:2845-1","SUSE-SU-2023:2846-1","SUSE-SU-2023:3002-1","UBUNTU-CVE-2023-29406","openSUSE-SU-2024:13046-1","openSUSE-SU-2024:13074-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Go standard library","requires_auth":"none","summary":"A malicious Host header in Go's net/http client can inject headers or requests, requiring an upgrade to the Go standard library.","user_interaction":"required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Go","cpe":[{"product":"go","vendor":"golang"}],"cvss":{"score":6.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-436","name":"Interpretation Conflict"}],"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.","ecosystems":["AlmaLinux:8","Bitnami","Go","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Rocky Linux:8","SUSE:Linux Enterprise Module for Development Tools 15 SP4","SUSE:Linux Enterprise Module for Development Tools 15 SP5","SUSE:Linux Enterprise Real Time 15 SP3","openSUSE:Leap 15.4","openSUSE:Leap 15.5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":"2023-11-11","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2023-11-11T16:28:22Z","kind":"github_poc","ref":"https://github.com/LuizGustavoP/EP3_Redes","stars":0,"title":"Implementações de servidores HTML em GO para análise da vulnerabilidade CVE-2023-29406."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Insufficient sanitization of Host header in net/http","id":"CVE-2023-29406","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"golang:go","products":["golang:go"],"type":"other","year":"2023"},"n_packages":162,"n_references":6,"next":{"headline":"Excessive CPU consumption when decoding 0-height images in golang.org/x/image/tiff","id":"CVE-2023-29407"},"packages":[{"ecosystem":"Bitnami","fixed":["1.19.11","1.20.6"],"introduced":["0","1.20.0"],"last_affected":[],"package":"golang","purl":"pkg:bitnami/golang","source":"BIT-golang-2023-29406"},{"ecosystem":"Go","fixed":["1.19.11","1.20.6"],"introduced":["0","1.20.0-0"],"last_affected":[],"package":"stdlib","purl":"pkg:golang/stdlib","source":"GO-2023-1878"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.0.1-38.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"aardvark-dns","purl":"pkg:rpm/almalinux/aardvark-dns","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.6-7.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/almalinux/buildah","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.6-7.module_el8.9.0+3687+dcd7ef8f"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/almalinux/buildah","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.6-7.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"buildah-tests","purl":"pkg:rpm/almalinux/buildah-tests","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.24.6-7.module_el8.9.0+3687+dcd7ef8f"],"introduced":["0"],"last_affected":[],"package":"buildah-tests","purl":"pkg:rpm/almalinux/buildah-tests","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["46-1.module_el8.7.0+3344+5bcd850f"],"introduced":["0"],"last_affected":[],"package":"cockpit-podman","purl":"pkg:rpm/almalinux/cockpit-podman","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.1.4-2.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.1.4-2.module_el8.9.0+3687+dcd7ef8f"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/almalinux/conmon","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.205.0-3.module_el8.9.0+3687+dcd7ef8f"],"introduced":["0"],"last_affected":[],"package":"container-selinux","purl":"pkg:rpm/almalinux/container-selinux","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.1.1-5.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["1:1.1.1-5.module_el8.9.0+3687+dcd7ef8f"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:1-38.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["3.15-3.module_el8.6.0+2877+8e437bf5"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["3.15-3.module_el8.6.0+3137+d33c3efb"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["3.15-3.module_el8.6.0+2877+8e437bf5"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["3.15-3.module_el8.6.0+3137+d33c3efb"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["3.15-3.module_el8.6.0+2877+8e437bf5"],"introduced":["0"],"last_affected":[],"package":"criu-devel","purl":"pkg:rpm/almalinux/criu-devel","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["3.15-3.module_el8.6.0+3137+d33c3efb"],"introduced":["0"],"last_affected":[],"package":"criu-devel","purl":"pkg:rpm/almalinux/criu-devel","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["3.15-3.module_el8.6.0+2877+8e437bf5"],"introduced":["0"],"last_affected":[],"package":"criu-libs","purl":"pkg:rpm/almalinux/criu-libs","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["3.15-3.module_el8.6.0+3137+d33c3efb"],"introduced":["0"],"last_affected":[],"package":"criu-libs","purl":"pkg:rpm/almalinux/criu-libs","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["1.8.7-1.module_el8.9.0+3683+33eb0feb"],"introduced":["0"],"last_affected":[],"package":"crun","purl":"pkg:rpm/almalinux/crun","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["1.9-2.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"fuse-overlayfs","purl":"pkg:rpm/almalinux/fuse-overlayfs","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["1.9-2.module_el8.9.0+3687+dcd7ef8f"],"introduced":["0"],"last_affected":[],"package":"fuse-overlayfs","purl":"pkg:rpm/almalinux/fuse-overlayfs","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["4.4.0-1.module_el8.6.0+2877+8e437bf5"],"introduced":["0"],"last_affected":[],"package":"libslirp","purl":"pkg:rpm/almalinux/libslirp","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["4.4.0-1.module_el8.6.0+3137+d33c3efb"],"introduced":["0"],"last_affected":[],"package":"libslirp","purl":"pkg:rpm/almalinux/libslirp","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["4.4.0-1.module_el8.6.0+2877+8e437bf5"],"introduced":["0"],"last_affected":[],"package":"libslirp-devel","purl":"pkg:rpm/almalinux/libslirp-devel","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["4.4.0-1.module_el8.6.0+3137+d33c3efb"],"introduced":["0"],"last_affected":[],"package":"libslirp-devel","purl":"pkg:rpm/almalinux/libslirp-devel","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:1.0.1-38.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"netavark","purl":"pkg:rpm/almalinux/netavark","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["1.2.5-2.module_el8.8.0+3468+16b86c82"],"introduced":["0"],"last_affected":[],"package":"oci-seccomp-bpf-hook","purl":"pkg:rpm/almalinux/oci-seccomp-bpf-hook","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:4.0.2-24.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/almalinux/podman","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:4.0.2-24.module_el8.9.0+3687+dcd7ef8f"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/almalinux/podman","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:4.0.2-24.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"podman-catatonit","purl":"pkg:rpm/almalinux/podman-catatonit","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:4.0.2-24.module_el8.9.0+3687+dcd7ef8f"],"introduced":["0"],"last_affected":[],"package":"podman-catatonit","purl":"pkg:rpm/almalinux/podman-catatonit","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:4.0.2-24.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"podman-docker","purl":"pkg:rpm/almalinux/podman-docker","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:4.0.2-24.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"podman-gvproxy","purl":"pkg:rpm/almalinux/podman-gvproxy","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:4.0.2-24.module_el8.9.0+3687+dcd7ef8f"],"introduced":["0"],"last_affected":[],"package":"podman-gvproxy","purl":"pkg:rpm/almalinux/podman-gvproxy","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:4.0.2-24.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"podman-plugins","purl":"pkg:rpm/almalinux/podman-plugins","source":"ALSA-2023:7202"},{"ecosystem":"AlmaLinux:8","fixed":["2:4.0.2-24.module_el8.9.0+3627+db8ec155"],"introduced":["0"],"last_affected":[],"package":"podman-remote","purl":"pkg:rpm/almalinux/podman-remote","source":"ALSA-2023:7202"}],"prev":{"headline":"Improper sanitization of LDFLAGS with embedded spaces in go command with cgo in cmd/go","id":"CVE-2023-29405"},"products":["net/http"],"published":"2023-07-11","related":[{"cvss_score":8.1,"headline":"Microsoft Windows CryptoAPI Spoofing","id":"CVE-2020-0601","kev_date_added":"2021-11-03","published":"2020-01-14"},{"cvss_score":9.8,"headline":"Missing bound checks can lead to memory corruption in safe Go in cmd/compile","id":"CVE-2026-27143","kev_date_added":null,"published":"2026-04-08"},{"cvss_score":9.8,"headline":"Unexpected behavior from Is methods for IPv4-mapped IPv6 addresses in net/netip","id":"CVE-2024-24790","kev_date_added":null,"published":"2024-06-05"},{"cvss_score":9.8,"headline":"Arbitrary code execution via go.mod toolchain directive in cmd/go","id":"CVE-2023-39320","kev_date_added":null,"published":"2023-09-08"},{"cvss_score":9.8,"headline":"Improper handling of JavaScript whitespace in html/template","id":"CVE-2023-24540","kev_date_added":null,"published":"2023-05-11"},{"cvss_score":9.8,"headline":"Backticks not treated as string delimiters in html/template","id":"CVE-2023-24538","kev_date_added":null,"published":"2023-04-06"},{"cvss_score":9.8,"headline":"Other in go/golang","id":"CVE-2012-2666","kev_date_added":null,"published":"2021-07-09"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["Go standard library"]},"summary":"A malicious Host header in Go's net/http client can inject headers or requests, requiring an upgrade to the Go standard library.","url":"https://insights.sbomify.com/CVE-2023-29406/"}