# CVE-2023-29406: Insufficient sanitization of Host header in net/http

- Severity: Medium 6.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.45%, higher than 74% of CVEs (2026-12-01)
- Published: 2023-07-11T19:19:08.000Z
- Modified: 2026-09-08T08:47:48.917Z
- Also known as: GO-2023-1878, BIT-GOLANG-2023-29406
- Related: CGA-wwp2-m29q-vgv2
- Weaknesses: CWE-113, CWE-436
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Go

## 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.

(As written by CVE List.)

## Affected

- net/http: before 1.19.11; from 1.20.0-0 before 1.20.6
- stdlib (Go): before 1.19.11; from 1.20.0-0 before 1.20.6
- golang go: before 1.19.11; from 1.20.0 before 1.20.6
- golang (Bitnami): before 1.19.11; from 1.20.0 before 1.20.6

## Every score

- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://go.dev/issue/60374> (fix, issue-tracking, patch, report)
- <https://go.dev/cl/506996> (fix, patch)
- <https://groups.google.com/g/golang-announce/c/2q13H6LEEx0> (discussion, mailing-list, web)
- <https://pkg.go.dev/vuln/GO-2023-1878> (advisory, vendor-advisory)
- <https://security.netapp.com/advisory/ntap-20230814-0002/> (web)
- <https://security.gentoo.org/glsa/202311-09> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-29406> (web)

## Sources

- CVE List: [CVE-2023-29406](https://www.cve.org/CVERecord?id=CVE-2023-29406), CVE Terms of Use, modified 2025-02-13
- Go Vulnerability Database: [GO-2023-1878](https://pkg.go.dev/vuln/GO-2023-1878), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-29406](https://nvd.nist.gov/vuln/detail/CVE-2023-29406), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GOLANG-2023-29406](https://osv.dev/vulnerability/BIT-GOLANG-2023-29406), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-29406 · Whole record: https://cve.day/CVE-2023-29406.json · Rebuilt by cve.day 2026-11-25T22:58:25.668Z
