CVE-2023-39326
golang: net/http/internal: Denial of Service (DoS) via Resource Consumption via HTTP requests
Overview
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.
Source: OX vulnerability database
Severity
5.3 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Affected packages · 2
Operating systems · 434 fixes
Oracle Linux 3 releases · 36 packages
| Release | Package | Fixed in |
|---|---|---|
| 7 | flannel-cni-plugin +1 | 1.0.1-4.el7 |
| 7 | kubernetes-cni-plugins | 1.0.1-5.el7 |
| 7 | kata-image | 1.12.1-11.11.ol7_202312212315 |
| 7 | kata-agent +4 | 1.12.1-11.el7 |
| 7 | kata | 1.12.1-17.el7 |
| 7 | istio +1 | 1.16.7-3.el7 |
64 more rows
Photon OS 2 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 4.0 | go | 1.20.12-1.ph4 |
| 5.0 | go | 1.20.12-1.ph5 |
Red Hat 7 releases · 35 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| golang +5 | wont fix | — | |
| 7 | buildah +9 | affected | — |
| 7 | buildah +5 | wont fix | — |
| 7 | rhc-worker-script | 0:0.6-1.el7_9 | RHSA-2024:1244 |
| 7 | go-toolset-1-19-golang +6 | 0:1.19.13-5.el7_9 | RHSA-2024:1041 |
| 8 | osbuild-composer +4 | wont fix | — |
73 more rows
SUSE Linux Enterprise 2 releases · 4 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 15.4 | go1-20 +2 | 1.20.12-150000.1.35.1 | SUSE-SU-2023:4708-1 |
| 15.4 | go1-20-openssl +2 | 1.20.12.1-150000.1.17.1 | SUSE-SU-2023:4930-1 |
| 15.4 | go1-21 +2 | 1.21.5-150000.1.18.1 | SUSE-SU-2023:4709-1 |
| 15.4 | go1-21-openssl +2 | 1.21.5.1-150000.1.8.1 | SUSE-SU-2023:4931-1 |
| 15.5 | go1-20 +2 | 1.20.12-150000.1.35.1 | SUSE-SU-2023:4708-1 |
| 15.5 | go1-20-openssl +2 | 1.20.12.1-150000.1.17.1 | SUSE-SU-2023:4930-1 |
2 more rows
alma 3 releases · 22 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (container-tools:4.0) | toolbox +1 | 0.0.99.4-5.module_el8.9.0+3627+db8ec155 |
| 8 (container-tools:4.0) | udica | 0.2.6-4.module_el8.9.0+3627+db8ec155 |
| 8 (container-tools:4.0) | slirp4netns | 1.1.8-3.module_el8.9.0+3627+db8ec155 |
| 8 (container-tools:4.0) | oci-seccomp-bpf-hook | 1.2.5-2.module_el8.8.0+3468+16b86c82 |
| 8 (container-tools:4.0) | crun | 1.8.7-1.module_el8.9.0+3683+33eb0feb |
| 8 (container-tools:4.0) | fuse-overlayfs | 1.9-2.module_el8.9.0+3627+db8ec155 |
22 more rows
alpine 4 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 3.22 | go | 1.21.5-r0 |
| 3.23 | go | 1.21.5-r0 |
| 3.24 | go | 1.21.5-r0 |
| edge | go | 1.21.5-r0 |
amazon linux 1 release · 11 packages
| Release | Package | Fixed in |
|---|---|---|
| 2023 | oci-add-hooks +2 | 0-0.1.20200504git268e3bb.amzn2023.0.3 |
| 2023 | amazon-ecr-credential-helper | 0.7.1-4.amzn2023 |
| 2023 | runc +2 | 1.1.11-1.amzn2023.0.1 |
| 2023 | cni-plugins +2 | 1.2.0-1.amzn2023.0.4 |
| 2023 | golang +6 | 1.20.12-1.amzn2023.0.1 |
| 2023 | amazon-cloudwatch-agent | 1.300032.3-1.amzn2023 |
5 more rows
chainguard 1 release · 68 packages
| Release | Package | Fixed in |
|---|---|---|
| stakater-reloader-0-0-119 | 0.0.119-r4 | |
| stakater-reloader-0-0-128 | 0.0.128-r3 | |
| gke-gcloud-auth-plugin | 0.0.2-r6 | |
| local-path-provisioner | 0.0.26-r2 | |
| sbom-scorecard | 0.0.7-r6 | |
| nats | 0.1.1-r4 |
62 more rows
debian 3 releases · 3 packages
| Release | Package | Fixed in |
|---|---|---|
| 10 | golang-1-11 | affected |
| 11 | golang-1-15 | affected |
| 12 | golang-1-19 | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| golang-1-19 | affected |
minimos 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| trigger-dev | 4.5.11-r1 |
openSUSE 1 release · 2 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | go1-20 +3 | 1.20.12-1.1 | openSUSE-SU-2024:13491-1 |
| Tumbleweed | go1-21 +3 | 1.21.5-1.1 | openSUSE-SU-2024:13492-1 |
rocky 2 releases · 19 packages
| Release | Package | Fixed in |
|---|---|---|
| 8 (container-tools:4.0) | udica | 0.2.6-4.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | slirp4netns | 1.1.8-3.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | oci-seccomp-bpf-hook | 1.2.5-2.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | fuse-overlayfs | 1.9-2.module+el8.9.0+1445+07728297 |
| 8 (container-tools:4.0) | runc | 1:1.1.12-1.module+el8.10.0+1815+5fe7415e |
| 8 (container-tools:4.0) | runc | 1:1.1.12-1.module+el8.10.0+1825+623b0c20 |
95 more rows
root.io debian 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 12 | rootio-golang-1-19 | affected |
ubuntu 3 releases · 2 packages
| Release | Package | Fixed in |
|---|---|---|
| 20.04 | golang-1-20 | 1.20.3-1ubuntu0.1~20.04.1 |
| 20.04 | golang-1-21 | 1.21.1-1~ubuntu20.04.2 |
| 20.04-ESM | golang-1-20 | 1.20.3-1ubuntu0.1~20.04.1 |
| 20.04-ESM | golang-1-21 | 1.21.1-1~ubuntu20.04.2 |
| 22.04 | golang-1-20 | 1.20.3-1ubuntu0.1~22.04.1 |
| 22.04 | golang-1-21 | 1.21.1-1~ubuntu22.04.2 |
wolfi 1 release · 49 packages
| Release | Package | Fixed in |
|---|---|---|
| gke-gcloud-auth-plugin | 0.0.2-r6 | |
| local-path-provisioner | 0.0.26-r2 | |
| sbom-scorecard | 0.0.7-r6 | |
| nats | 0.1.1-r4 | |
| hey | 0.1.4-r9 | |
| helm-push | 0.10.4-r1 |
43 more rows
References
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:2272
- access.redhat.com https://access.redhat.com/errata/RHSA-2024:2988
- access.redhat.com https://access.redhat.com/security/cve/CVE-2023-39326
- bugzilla.redhat.com https://bugzilla.redhat.com/2253193
- bugzilla.redhat.com https://bugzilla.redhat.com/2253330
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1983596
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1989575
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2132867
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2132868
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2132872
Show all 52 references
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2228743
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2237773
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2237776
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2237777
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2237778
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2244340
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2246840
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2253193
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2253330
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2254210
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2262272
- creativecommons.org https://creativecommons.org/licenses/by/4.0/
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-25091
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-33198
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-34558
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2879
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-2880
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41715
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-29409
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39318
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39319
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39321
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39322
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-39326
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45287
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45803
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-48795
- cve.mitre.org https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-23650
- errata.almalinux.org https://errata.almalinux.org/9/ALSA-2024-2272.html
- errata.rockylinux.org https://errata.rockylinux.org/RLSA-2024:2988
- github.com https://github.com/golang/go/commit/6446af942e2e2b161c4ec1b60d9703a2b55dc4dd (go1.20.12)
- github.com https://github.com/golang/go/commit/ec8c526e4be720e94b98ca509e6364f0efaf28f7 (go1.21.5)
- go.dev https://go.dev/cl/547335
- go.dev https://go.dev/issue/64433
- groups.google.com https://groups.google.com/g/golang-dev/c/6ypN5EjibjM/m/KmLVYH_uAgAJ
- linux.oracle.com https://linux.oracle.com/cve/CVE-2023-39326.html
- linux.oracle.com https://linux.oracle.com/errata/ELSA-2024-2988.html
- lists.fedoraproject.org https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UIU6HOGV6RRIKWM57LOXQA75BGZSIH6G/
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2023-39326
- pkg.go.dev https://pkg.go.dev/vuln/GO-2023-2382
- ubuntu.com https://ubuntu.com/security/notices/USN-6574-1
- www.cve.org https://www.cve.org/CVERecord?id=CVE-2023-39326
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.