ubuntu-cve-2023-39326
Vulnerability from osv_ubuntu
Published
2023-12-06 00:00
Modified
2025-09-08 16:56
Summary
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": [
    {
      "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "golang-1.20",
        "purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~20.04.1?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.20.3-1ubuntu0.1~20.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.20.3-1ubuntu0.1~20.04"
      ]
    },
    {
      "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "golang-1.21",
        "purl": "pkg:deb/ubuntu/golang-1.21@1.21.1-1~ubuntu20.04.2?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.21.1-1~ubuntu20.04.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.21.1-1~ubuntu20.04.1"
      ]
    },
    {
      "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "golang-1.20",
        "purl": "pkg:deb/ubuntu/golang-1.20@1.20.3-1ubuntu0.1~22.04.1?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.20.3-1ubuntu0.1~22.04.1"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.20.3-1ubuntu0.1~22.04"
      ]
    },
    {
      "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"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "golang-1.21",
        "purl": "pkg:deb/ubuntu/golang-1.21@1.21.1-1~ubuntu22.04.2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "1.21.1-1~ubuntu22.04.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "1.21.1-1~ubuntu22.04.1"
      ]
    }
  ],
  "aliases": [],
  "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.",
  "id": "UBUNTU-CVE-2023-39326",
  "modified": "2025-09-08T16:56:28Z",
  "published": "2023-12-06T00:00:00Z",
  "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"
    }
  ],
  "related": [
    "USN-6574-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    },
    {
      "score": "medium",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2023-39326"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…