{"schema_version":"1.7.3","id":"UBUNTU-CVE-2023-39326","published":"2023-12-06T00:00:00Z","modified":"2026-02-04T04:40:50.765532Z","related":["USN-6574-1"],"upstream":["CVE-2023-39326"],"details":"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":[{"package":{"name":"golang-1.20","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.3-1ubuntu0.1~20.04.1"}]}],"versions":["1.20.3-1ubuntu0.1~20.04"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"golang-1.20","binary_version":"1.20.3-1ubuntu0.1~20.04.1"},{"binary_name":"golang-1.20-go","binary_version":"1.20.3-1ubuntu0.1~20.04.1"},{"binary_name":"golang-1.20-src","binary_version":"1.20.3-1ubuntu0.1~20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-39326.json"}},{"package":{"name":"golang-1.21","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/golang-1.21@1.21.1-1~ubuntu20.04.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1-1~ubuntu20.04.2"}]}],"versions":["1.21.1-1~ubuntu20.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"golang-1.21","binary_version":"1.21.1-1~ubuntu20.04.2"},{"binary_name":"golang-1.21-go","binary_version":"1.21.1-1~ubuntu20.04.2"},{"binary_name":"golang-1.21-src","binary_version":"1.21.1-1~ubuntu20.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-39326.json"}},{"package":{"name":"golang-1.20","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.20.3-1ubuntu0.1~22.04.1"}]}],"versions":["1.20.3-1ubuntu0.1~22.04"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"golang-1.20","binary_version":"1.20.3-1ubuntu0.1~22.04.1"},{"binary_name":"golang-1.20-go","binary_version":"1.20.3-1ubuntu0.1~22.04.1"},{"binary_name":"golang-1.20-src","binary_version":"1.20.3-1ubuntu0.1~22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-39326.json"}},{"package":{"name":"golang-1.21","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/golang-1.21@1.21.1-1~ubuntu22.04.2?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.21.1-1~ubuntu22.04.2"}]}],"versions":["1.21.1-1~ubuntu22.04.1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"golang-1.21","binary_version":"1.21.1-1~ubuntu22.04.2"},{"binary_name":"golang-1.21-go","binary_version":"1.21.1-1~ubuntu22.04.2"},{"binary_name":"golang-1.21-src","binary_version":"1.21.1-1~ubuntu22.04.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-39326.json"}}],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-39326"},{"type":"REPORT","url":"https://go.dev/issue/64433"},{"type":"REPORT","url":"https://github.com/golang/go/commit/ec8c526e4be720e94b98ca509e6364f0efaf28f7"},{"type":"REPORT","url":"https://github.com/golang/go/commit/6446af942e2e2b161c4ec1b60d9703a2b55dc4dd"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6574-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-39326"}],"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}