Security mailing lists by PureSourceCode

CVE-2023-29406

MEDIUM 6.5CVSS 3.1

Insufficient sanitization of Host header in net/http

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.

Published
11 Jul 2023
Last modified
17 Jun 2026
Assigned by
security@golang.org
NVD status
Modified
Weakness
CWE-436
Also known as
BIT-golang-2023-29406GO-2023-1878
Sources
NVDJSONOSV GO-2023-1878JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
< 1.19.11 1.19.11
NVD golang go
cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*
>= 1.20.0, < 1.20.6 1.20.6
OSV Go stdlib < 1.19.11; >= 1.20.0-0, < 1.20.6 1.19.11, 1.20.6

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 11 Jul 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Jul 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.