CWE
436 113
Advisory Published
Updated

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

First published: Tue Jul 11 2023(Updated: )

Golang Go is vulnerable to HTTP header injection, caused by improper contents validation of Host header by the HTTP/1 client. By persuading a victim to visit a specially crafted Web page, a remote attacker could exploit this vulnerability to inject arbitrary HTTP headers, which will allow the attacker to conduct various attacks against the vulnerable system, including cross-site scripting, cache poisoning or session hijacking.

Credit: security@golang.org security@golang.org

Affected SoftwareAffected VersionHow to fix
Golang Go>=1.20.0<1.20.6
Golang Go<1.19.11
IBM Cloud Pak for Business Automation<=V23.0.1 - V23.0.1-IF002
IBM Cloud Pak for Business Automation<=V21.0.3 - V21.0.3-IF024
IBM Cloud Pak for Business Automation<=V22.0.2 - V22.0.2-IF006 and later fixesV22.0.1 - V22.0.1-IF006 and later fixesV21.0.2 - V21.0.2-IF012 and later fixesV21.0.1 - V21.0.1-IF007 and later fixesV20.0.1 - V20.0.3 and later fixesV19.0.1 - V19.0.3 and later fixesV18.0.0 - V18.0.2 and later fixes
redhat/golang<1.19.11
1.19.11
redhat/golang<1.20.6
1.20.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Parent vulnerabilities

(Appears in the following advisories)

Frequently Asked Questions

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

  • What is the severity of CVE-2023-29406?

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

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

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

  • 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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203