CVE-2024-28863
Denial of service while parsing a tar file due to lack of folders count validation
Reported by github_m · Published March 21, 2024
node-tar is fixed in 6.2.1 (npm)
node-tar is a Tar for Node.js. node-tar prior to version 6.2.1 has no limit on the number of sub-folders created in the folder creation process. An attacker who generates a large number of sub-folders can consume memory on the system running node-tar and even crash the Node.js client within few seconds of running it using a path with too many sub-folders inside. Version 6.2.1 fixes this issue by preventing extraction in excessively deep sub-folders.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| tar | npm | 6.2.1 |
| node-tar | npm | 6.2.1 |
| nodejs-full-i18n | Amazon Linux | 1:18.20.4-1.amzn2023.0.1 |
| jupyter-base-notebook | Wolfi | 7.6.3-r2 |
| pnpm-stage0 | Chainguard | 8.7.4-r6 |
| nodejs-npm | Amazon Linux | 1:10.7.0-1.18.20.4.1.amzn2023.0.1 |
| nodejs20-docs | Amazon Linux | 1:20.18.0-1.amzn2023.0.2 |
| sqlpad | Wolfi | 7.4.1-r3 |
| nodejs20-full-i18n | Amazon Linux | 1:20.18.0-1.amzn2023.0.2 |
| nodejs20-npm | Amazon Linux | 1:10.8.2-1.20.18.0.1.amzn2023.0.2 |
| nodejs | Amazon Linux | 1:18.20.4-1.amzn2023.0.1 |
| jupyter-base-notebook | Chainguard | 7.6.3-r2 |
10 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| isaacs | node-tar | < 6.2.1 |
| amazon:2023 | nodejs-full-i18n | 0 |
| wolfi | jupyter-base-notebook | 0 |
| node-tar_project | node-tar | 0 |
| chainguard | pnpm-stage0 | 0 |
| amazon:2023 | nodejs-npm | 0 |
| amazon:2023 | nodejs20-docs | 0 |
| wolfi | sqlpad | 0 |
| amazon:2023 | nodejs20-full-i18n | 0 |
| amazon:2023 | nodejs20-npm | 0 |
| amazon:2023 | nodejs | 0 |
| chainguard | jupyter-base-notebook | 0 |
| amazon:2023 | nodejs-docs | 0 |
| wolfi | npm | 0 |
| wolfi | pnpm-stage0 | 0 |
| amazon:2023 | v8-11.3-devel | 0 |
| chainguard | lerna | 0 |
| chainguard | tensorflow-gpu-jupyter | 0 |
| chainguard | opensearch-dashboards-2-fips | 0 |
| chainguard | opensearch-dashboards-2 | 0 |
…and 17 more
Timeline
- Mar 21, 2024 CVE Published
- Mar 22, 2024 EPSS Score (30 in total, the first dated here)
- Oct 4, 2024 Coalition ESS Score (11 in total, the first dated here)
- Jan 14, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-28863
vulnetix vdb fixes CVE-2024-28863
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-2024-28863/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/isaacs/node-tar/security/advisories/GHSA-f5x3-32g6-xq36 x_refsource_CONFIRM
- https://github.com/isaacs/node-tar/commit/fe8cd57da5686f8695415414bda49206a545f7f7 x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2024-28863 advisory
- https://github.com/advisories/GHSA-f5x3-32g6-xq36 advisory
- https://github.com/isaacs/node-tar url
- https://security.netapp.com/advisory/ntap-20240524-0005 advisory