CVE-2023-29406Golang Go
Medium 6.5 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.19.11 |
| golang | go | ≥ 1.20.0 < 1.20.6 |
Official advisories
- Red Hat Security Advisory: go-toolset:rhel8 security update · Red Hat · RHSA-2023:5721 · Oct 22, 2024 High
- Red Hat Security Advisory: container-tools:4.0 security and bug fix update · Red Hat · RHSA-2023:6938 · Oct 21, 2024 Medium
- Red Hat Security Advisory: container-tools:rhel8 security and bug fix update · Red Hat · RHSA-2023:6939 · Oct 21, 2024 Medium
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.
- go.dev Patch
- go.dev Issue Tracking Patch
- groups.google.com Mailing List
- pkg.go.dev Vendor Advisory
- security.gentoo.org
- security.netapp.com