Unscored

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

Go standard library net/http Published: (3 years ago)

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.

Weakness (CWE): CWE-113

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Go standard library net/http < 1.19.11, 1.20.0-0 – < 1.20.6

References and patches