CVE-2023-39326Golang Go
Medium 5.3 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.1% probability of exploitation in 30 days · percentile 65
- Auth required
- No
- Published
- Dec 6, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
What happens
A malicious HTTP sender can use chunk extensions to cause a receiver reading from a request or response body to read many more bytes from the network than are in the body. A malicious HTTP client can further exploit this to cause a server to automatically read a large amount of data (up to about 1GiB) when a handler fails to read the entire body of a request. Chunk extensions are a little-used HTTP feature which permit including additional metadata in a request or response body sent using the chunked encoding. The net/http chunked encoding reader discards this metadata. A sender can exploit this by inserting a large metadata segment with each byte transferred. The chunk reader now produces an error if the ratio of real body to encoded bytes grows too small.
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.20.12 |
1.20.12 |
go get stdlib@v1.20.12 |
| Go | stdlib |
≥ 1.21.0-0 < 1.21.5 |
1.21.5 |
go get stdlib@v1.21.5 |
Per OSV / GitHub Advisories (GO-2023-2382). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.20.12 |
| golang | go | ≥ 1.21.0-0 < 1.21.5 |
Official advisories
- Red Hat Security Advisory: OpenShift Container Platform 4.15.0 packages and security update · Red Hat · RHSA-2023:7201 · Oct 1, 2024 High
- Red Hat Security Advisory: OpenShift Container Platform 4.15.z security update · Red Hat · RHSA-2023:7200 · Oct 1, 2024 High
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 Vendor Advisory
- groups.google.com Mailing List Vendor Advisory
- lists.fedoraproject.org
- pkg.go.dev Patch Vendor Advisory