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

Published Jul 11, 2023
·
Updated

Insufficient sanitization of Host header in net/http

Other sources

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.

Launchpad

Affected Software

13 affected componentsFixes available
debian/golang-1.15<=1.15.15-1~deb11u4
debian/golang-1.19<=1.19.8-2
Golang Go>=1.20.0<1.20.6
Golang Go<1.19.11
IBM Concert Software<=1.0.0-1.1.0
redhat/golang<1.19.11
1.19.11
redhat/golang<1.20.6
1.20.6
Microsoft cbl2 golang 1.21.6-1
Microsoft cbl2 golang 1.20.7-1
Microsoft cbl2 msft-golang 1.20.7-1
Microsoft cbl2 golang 1.18.8-7
Microsoft azl3 golang 1.20.7-1
Microsoft cbl2 golang 1.17.13-2

Remediation

Event History

Jul 11, 2023
CVE Published
via MITRE·07:23 PM
Data Sourced
via MITRE·07:23 PM
DescriptionWeakness
Jul 12, 2023
Data Sourced
via Red Hat·06:04 AM
DescriptionSeverityAffected Software
Oct 10, 2024
Data Sourced
via Launchpad·01:15 PM
Description
Nov 15, 2024
Data Sourced
via Ubuntu·01:20 PM
RemedyDescriptionSeverityAffected Software
Sep 4, 2025
Data Sourced
via Microsoft·07:12 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·07:12 AM
Affected Software
Updated
via Microsoft·07:12 AM
Affected Software
Updated
via Microsoft·07:12 AM
DescriptionSeverity
Sep 8, 2025
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2023-29406?

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.

2

What is the severity of CVE-2023-29406?

CVE-2023-29406 has a severity value of 6.5, which is considered medium.

3

How does CVE-2023-29406 affect Golang Go?

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.

4

How can I fix CVE-2023-29406?

To fix CVE-2023-29406, update to Golang Go version 1.20.7 or 1.19.12 or later.

5

What are the references for CVE-2023-29406?

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

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203