CVE-2023-39326
Denial of service via chunk extensions in net/http
Reported by go · Published December 6, 2023
net/http/internal is fixed in 1.21.5 and 1.20.12 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| net/http/internal | Go Modules | 1.21.5, 1.20.12 |
| stdlib | Go Modules | 1.21.5, 1.20.12 |
| docker-credential-ecr-login | Chainguard | 0.7.1-r8 |
| protoc-gen-go-grpc | Wolfi | 1.3.0-r7 |
| falco | Chainguard | 0.37.1-r0 |
| prometheus-fips-2.38 | Chainguard | 2.38.0-r3 |
| ctop | Chainguard | 0.7.7-r10 |
| kyverno-policy-reporter-kyverno-plugin-1.5 | Chainguard | 1.5.2-r4 |
| gke-gcloud-auth-plugin | Wolfi | 0.0.2-r6 |
| nats | Chainguard | 0.1.1-r4 |
| cass-operator-fips | Chainguard | 1.18.2-r1 |
| local-path-provisioner | Chainguard | 0.0.26-r2 |
85 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | net/http/internal | 0, 1.21.0-0 |
| chainguard | docker-credential-ecr-login | 0 |
| wolfi | protoc-gen-go-grpc | 0 |
| chainguard | falco | 0 |
| chainguard | prometheus-fips-2.38 | 0 |
| chainguard | ctop | 0 |
| chainguard | kyverno-policy-reporter-kyverno-plugin-1.5 | 0 |
| wolfi | gke-gcloud-auth-plugin | 0 |
| chainguard | nats | 0 |
| chainguard | cass-operator-fips | 0 |
| chainguard | local-path-provisioner | 0 |
| chainguard | hubble-ui-backend | 0 |
| chainguard | metrics-server | 0 |
| chainguard | stakater-reloader-0.0.128 | 0 |
| chainguard | cni-plugins | 0 |
| chainguard | aws-flb-cloudwatch | 0 |
| chainguard | aactl | 0 |
| chainguard | hey | 0 |
| wolfi | cni-plugins | 0 |
| chainguard | cni-plugins-fips | 0 |
…and 159 more
Timeline
- Nov 30, 2023 CVE Published
- Dec 7, 2023 EPSS Score (30 in total, the first dated here)
- Jun 2, 2026 Security Advisory (97 in total, the first dated here)
- Aug 5, 2026 Coalition ESS Score
- Nov 22, 2026 Distribution Patch (95 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-39326
vulnetix vdb fixes CVE-2023-39326
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-39326/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart