{"answers":{"affected":"4 open source packages ship an affected version, including node-tar and tar. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-28863 exists.","fix":"Upgrade node-tar to 6.2.1 or later.","what":"CVE-2024-28863 is a medium-severity denial of service vulnerability in isaacs node-tar, published on 21 Mar 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2024-28863 and fix it if it is affected.\n\nWhat it is: CVE-2024-28863 is a medium-severity denial of service vulnerability in isaacs node-tar, published on 21 Mar 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-28863 exists.\n\nAffected packages and fixed versions:\n- node-tar (npm): affected all versions; fixed in 6.2.1\n- node-tar (npm): affected all versions; fixed in 6.2.1\n- tar (npm): affected all versions; fixed in 6.2.1\n- tar (npm): affected all versions; fixed in 6.2.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-28863/ (Markdown: https://insights.sbomify.com/CVE-2024-28863/index.md)","id":"CVE-2024-28863","markdown":"https://insights.sbomify.com/CVE-2024-28863/index.md","name":"CVE-2024-28863","record":{"aliases":["AZL-37115","AZL-37121","AZL-37136","CLSA-2025-1756305640","CLSA-2026-1770717358","CLSA-2026-1775176090","CLSA-2026-1784856406","DEBIAN-CVE-2024-28863","GHSA-f5x3-32g6-xq36","MINI-479r-3hcw-3xwc","MINI-6vjp-gqq9-66fw","ROOT-APP-NPM-CVE-2024-28863","UBUNTU-CVE-2024-28863"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js tar library","requires_auth":"none","summary":"An attacker can cause a denial of service by providing a tar file with excessively deep sub-folders, consuming memory and crashing the Node.js client.","user_interaction":"required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"tar","vendor":"isaacs"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"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.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"node-tar vulnerable to denial of service while parsing a tar file due to lack of folders count validation","id":"CVE-2024-28863","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":4,"n_references":3,"next":{"headline":"[TagAwareCipher] - Decryption Failure (Regex Match)","id":"CVE-2024-28864"},"packages":[{"ecosystem":"npm","fixed":["6.2.1"],"introduced":["0"],"last_affected":[],"package":"node-tar","purl":null,"source":"GHSA-f5x3-32g6-xq36"},{"ecosystem":"npm","fixed":["6.2.1"],"introduced":["0"],"last_affected":[],"package":"node-tar","purl":"pkg:npm/node-tar","source":"GHSA-f5x3-32g6-xq36"},{"ecosystem":"npm","fixed":["6.2.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":null,"source":"GHSA-f5x3-32g6-xq36"},{"ecosystem":"npm","fixed":["6.2.1"],"introduced":["0"],"last_affected":[],"package":"tar","purl":"pkg:npm/tar","source":"GHSA-f5x3-32g6-xq36"}],"prev":{"headline":"ROTP 6.2.2 and 6.2.1 has 0666 permissions for the .rb files.","id":"CVE-2024-28862"},"products":["node-tar"],"published":"2024-03-21","related":[{"cvss_score":9.2,"headline":"node-tar: Decompression/parse DoS via unlimited input","id":"CVE-2026-59873","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":8.8,"headline":"node-tar has Race Condition in Path Reservations via Unicode Ligature Collisions on macOS APFS","id":"CVE-2026-23950","kev_date_added":null,"published":"2026-01-20"},{"cvss_score":8.7,"headline":"node-tar: Negative tar entry size causes infinite loop in archive replace","id":"CVE-2026-59874","kev_date_added":null,"published":"2026-07-08"},{"cvss_score":8.2,"headline":"node-tar Symlink Path Traversal via Drive-Relative Linkpath","id":"CVE-2026-31802","kev_date_added":null,"published":"2026-03-09"},{"cvss_score":8.2,"headline":"node-tar: Hardlink Path Traversal via Drive-Relative Linkpath","id":"CVE-2026-29786","kev_date_added":null,"published":"2026-03-07"},{"cvss_score":8.2,"headline":"node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal","id":"CVE-2026-24842","kev_date_added":null,"published":"2026-01-28"},{"cvss_score":8.2,"headline":"node-tar Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization","id":"CVE-2026-23745","kev_date_added":null,"published":"2026-01-16"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-13","vendors":["isaacs"]},"summary":"An attacker can cause a denial of service by providing a tar file with excessively deep sub-folders, consuming memory and crashing the Node.js client.","url":"https://insights.sbomify.com/CVE-2024-28863/"}