CVE-2023-39326

Denial of service via chunk extensions in net/http

MEDIUM
5.3
CVSS Score
Published: December 6, 2023 at 04:27 PM UTC
Updated: June 17, 2026 at 06:12 AM UTC
2 products affected across 2 vendorsGoGo

Using net/http/internal by Go standard library?

Get instant alerts when new vulnerabilities affect net/http/internal - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 1%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.20.121.21.0-0 ≤ v < 1.21.5
Affected range stops below 1.20.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.21.5, so it looks safe — our inference, not a vendor statement
v < 1.20.121.21.0-0 ≤ v < 1.21.51.21.0-0
Affected range stops below 1.20.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 1.21.5, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card