Skip to content
Heist/ feed
Back to feed
Low

Undici vulnerable to data leak when using response.arrayBuffer()

Type: advisorySources: OSV

Undici is an HTTP/1.1 client, written from scratch for Node.js. Depending on network and process conditions of a `fetch()` request, `response.arrayBuffer()` might include portion of memory from the Node.js process. This has been patched in v6.19.2.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-38372
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 15:57 UTC · Revision 1

Source evidence

Undici vulnerable to data leak when using response.arrayBuffer()

core-osv · Original source

Published 8 Jul 2024, 20:25 UTC

Undici is an HTTP/1.1 client, written from scratch for Node.js. Depending on network and process conditions of a `fetch()` request, `response.arrayBuffer()` might include portion of memory from the Node.js process. This has been patched in v6.19.2.

osv:CVE-2024-38372
Complete source record
{
  "id": "c9e61fd5e01571378fda086a8f54a4ca5ffdc208af47a65810009bcaafbcaee2",
  "url": "https://osv.dev/vulnerability/CVE-2024-38372",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Undici vulnerable to data leak when using response.arrayBuffer()",
    "summary": "Undici is an HTTP/1.1 client, written from scratch for Node.js. Depending on network and process conditions of a `fetch()` request, `response.arrayBuffer()` might include portion of memory from the Node.js process. This has been patched in v6.19.2.",
    "evidence": "osv:CVE-2024-38372",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-38372",
      "aliases": [
        "CVE-2024-38372",
        "GHSA-3g92-w8c5-73pq"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/nodejs/undici",
              "type": "GIT",
              "events": [
                {
                  "introduced": "9458ffd4f1e5116cdcf8b421a3171d3aded41d46"
                },
                {
                  "fixed": "532b7b28827afe52ed7b43cbb210ac8425516c28"
                },
                {
                  "fixed": "f979ec3204ca489abf30e7d20e9fee9ea7711d36"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "6.14.0"
                      },
                      {
                        "fixed": "6.19.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f979ec3204ca489abf30e7d20e9fee9ea7711d36"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v6.19.1",
            "v6.19.0",
            "v6.18.2",
            "v6.18.1",
            "v6.18.0",
            "v6.17.0",
            "v6.16.1",
            "v6.16.0",
            "v6.15.0",
            "v6.14.1",
            "v6.14.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38372.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:30.122813961Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38372.json",
        "https://github.com/nodejs/undici/security/advisories/GHSA-3g92-w8c5-73pq",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-38372",
        "https://security.netapp.com/advisory/ntap-20240828-0009/",
        "https://github.com/nodejs/undici/issues/3328",
        "https://github.com/nodejs/undici/issues/3337",
        "https://github.com/nodejs/undici/commit/f979ec3204ca489abf30e7d20e9fee9ea7711d36",
        "https://github.com/nodejs/undici/pull/3338"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-201"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38372.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-38372",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 497080,
  "published_at": "2024-07-08T20:25:59.111+00:00"
}