CVE-2023-39326

Denial of service via chunk extensions in net/http

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.

5.3
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.05%
Vendor Advisory go.dev Vendor Advisory google.com Vendor Advisory go.dev
Affected: Go standard library net/http/internal
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-39326?
CVE-2023-39326 has been scored as a medium severity vulnerability.
How to fix CVE-2023-39326?
To fix CVE-2023-39326, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-39326 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-39326 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-39326?
CVE-2023-39326 affects Go standard library net/http/internal.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.