CVE-2023-29406

Insufficient sanitization of Host header in net/http

State
Published
Severity
Not scored
Published
Jul 11, 2023
Updated
Feb 13, 2025
Reserved
Apr 5, 2023

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
net/httpGo standard library
  • before 1.19.11Affected
  • 1.20.0-0 to before 1.20.6Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.