CVE-2023-29406
JSON

6.5medium

Insufficient sanitization of Host header in net/http

Severity
6.5medium CVSS:3.1 by NVD
Exploit likelihood
1.45% (higher than 74% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Go
Also known as
GO-2023-1878BIT-GOLANG-2023-29406

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.

Affected

Product or packageVersionsReported by
net/httpbefore 1.19.11, from 1.20.0-0 before 1.20.6CVE List
stdlib (Go)before 1.19.11, from 1.20.0-0 before 1.20.6Go Vulnerability Database
golang gobefore 1.19.11, from 1.20.0 before 1.20.6NVD
golang (Bitnami)before 1.19.11, from 1.20.0 before 1.20.6Bitnami Vulnerability Database

All scores

NVD6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-113CWE-436

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2023-29406 changed 2025-02-13CVE Terms of Use
Go Vulnerability DatabaseGO-2023-1878 changed 2026-02-04CC-BY-4.0
NVDCVE-2023-29406 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GOLANG-2023-29406 changed 2026-09-08Apache-2.0