Live threats

All CVEs / Golang

CVE-2023-29406Golang Go

Medium 6.5 No auth needed

Priority
54
CVSS 3.1
6.5
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
Jul 11, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-436
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.19.11 1.19.11 go get stdlib@v1.19.11
Go stdlib ≥ 1.20.0-0 < 1.20.6 1.20.6 go get stdlib@v1.20.6

Per OSV / GitHub Advisories (GO-2023-1878). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.19.11
golanggo≥ 1.20.0 < 1.20.6

Official advisories

Also: Red Hat (+10)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.