CVE-2024-28863node-tar vulnerable to denial of service while parsing a tar file due to lack of folders…
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.
What to do
Fixed builds are available from AlmaLinux, Debian, Red Hat, Rocky Linux, npm: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | node-tar | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | node-tar | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | node-tar | Under investigation | UBUNTU-CVE-2024-28863 | |
| Ubuntu 22.04 | node-tar | Fix pending | UBUNTU-CVE-2024-28863 | |
| Ubuntu 20.04 | node-tar | Fix pending | UBUNTU-CVE-2024-28863 | |
| Debian 14 | node-tar | Fixed | 6.1.13+~cs7.0.5-2 | DEBIAN-CVE-2024-28863 |
| Debian 13 | node-tar | Fixed | 6.1.13+~cs7.0.5-2 | DEBIAN-CVE-2024-28863 |
| Debian 12 | node-tar | Fixed | 6.1.13+~cs7.0.5-1+deb12u1 | DEBIAN-CVE-2024-28863 |
| Red Hat Enterprise Linux 10 | nodejs20 | Will not fix Will not fix | ||
| Red Hat Enterprise Linux 9 | gjs | Not affected | ||
| Red Hat Enterprise Linux 9 | gjs-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | nodejs | Fixed | 1:18.20.4-1.module+el9.4.0+22195+c221878e | RHSA-2024:6147 |
| Red Hat Enterprise Linux 9 | nodejs-devel | Fixed | 1:18.20.4-1.module+el9.4.0+22195+c221878e | RHSA-2024:6147 |
| Red Hat Enterprise Linux 9 | nodejs-docs | Fixed | 1:18.20.4-1.module+el9.4.0+22195+c221878e | RHSA-2024:6147 |
| Red Hat Enterprise Linux 9 | nodejs-full-i18n | Fixed | 1:18.20.4-1.module+el9.4.0+22195+c221878e | RHSA-2024:6147 |
| Red Hat Enterprise Linux 9 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el9.3.0+19762+d716bf3b | RHSA-2024:6147 |
| Red Hat Enterprise Linux 9 | nodejs-packaging | Fixed | 0:2021.06-4.module+el9.1.0+15718+e52ec601 | RHSA-2024:6147 |
| Red Hat Enterprise Linux 9 | nodejs-packaging-bundler | Fixed | 0:2021.06-4.module+el9.1.0+15718+e52ec601 | RHSA-2024:6147 |
| Red Hat Enterprise Linux 9 | npm | Fixed | 1:10.7.0-1.18.20.4.1.module+el9.4.0+22195+c221878e | RHSA-2024:6147 |
| Red Hat Enterprise Linux 9 | polkit | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-devel | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-docs | Not affected | ||
| Red Hat Enterprise Linux 9 | polkit-libs | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-azure-monitor | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-cloudwatch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-elasticsearch | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-graphite | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-influxdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-loki | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mssql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-mysql | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-opentsdb | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-postgres | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-prometheus | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-selinux | Not affected | ||
| Red Hat Enterprise Linux 8 | grafana-stackdriver | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60 | Not affected | ||
| Red Hat Enterprise Linux 8 | mozjs60-devel | Not affected | ||
| Red Hat Enterprise Linux 8 | nodejs | Fixed | 1:18.20.4-1.module+el8.10.0+22199+56ea0ead | RHSA-2024:5814 |
| Red Hat Enterprise Linux 8 | nodejs-devel | Fixed | 1:18.20.4-1.module+el8.10.0+22199+56ea0ead | RHSA-2024:5814 |
| Red Hat Enterprise Linux 8 | nodejs-docs | Fixed | 1:20.16.0-1.module+el8.10.0+22203+a88c8310 | RHSA-2024:6148 |
| Red Hat Enterprise Linux 8 | nodejs-full-i18n | Fixed | 1:18.20.4-1.module+el8.10.0+22199+56ea0ead | RHSA-2024:5814 |
| Red Hat Enterprise Linux 8 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el8.10.0+21159+f5a7145d | RHSA-2024:5814 |
| Red Hat Enterprise Linux 8 | nodejs-packaging | Fixed | 0:2021.06-4.module+el8.9.0+19519+e25b965a | RHSA-2024:6148 |
| Red Hat Enterprise Linux 8 | nodejs-packaging-bundler | Fixed | 0:2021.06-4.module+el8.9.0+19519+e25b965a | RHSA-2024:6148 |
| Red Hat Enterprise Linux 8 | npm | Fixed | 1:10.7.0-1.18.20.4.1.module+el8.10.0+22199+56ea0ead | RHSA-2024:5814 |
| AlmaLinux 9 | nodejs | Fixed | 1:18.20.4-1.module_el9.4.0+112+bb28ff81 | ALSA-2024:6147 |
| AlmaLinux 9 | nodejs-devel | Fixed | 1:18.20.4-1.module_el9.4.0+112+bb28ff81 | ALSA-2024:6147 |
| AlmaLinux 9 | nodejs-docs | Fixed | 1:18.20.4-1.module_el9.4.0+112+bb28ff81 | ALSA-2024:6147 |
| AlmaLinux 9 | nodejs-full-i18n | Fixed | 1:18.20.4-1.module_el9.4.0+112+bb28ff81 | ALSA-2024:6147 |
| AlmaLinux 9 | nodejs-nodemon | Fixed | 3.0.1-1.module_el9.2.0+36+853e48f5 | ALSA-2024:6147 |
| AlmaLinux 9 | nodejs-packaging | Fixed | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2024:6147 |
| AlmaLinux 9 | nodejs-packaging-bundler | Fixed | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2024:6147 |
| AlmaLinux 9 | npm | Fixed | 1:10.7.0-1.18.20.4.1.module_el9.4.0+112+bb28ff81 | ALSA-2024:6147 |
| AlmaLinux 8 | nodejs | Fixed | 1:20.16.0-1.module_el8.10.0+3882+e12e42db | ALSA-2024:6148 |
| AlmaLinux 8 | nodejs-devel | Fixed | 1:20.16.0-1.module_el8.10.0+3882+e12e42db | ALSA-2024:6148 |
| AlmaLinux 8 | nodejs-docs | Fixed | 1:20.16.0-1.module_el8.10.0+3882+e12e42db | ALSA-2024:6148 |
| AlmaLinux 8 | nodejs-full-i18n | Fixed | 1:20.16.0-1.module_el8.10.0+3882+e12e42db | ALSA-2024:6148 |
| AlmaLinux 8 | nodejs-nodemon | Fixed | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2024:5814 |
| AlmaLinux 8 | nodejs-packaging | Fixed | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2024:5814 |
| AlmaLinux 8 | nodejs-packaging-bundler | Fixed | 2021.06-4.module_el8.9.0+3775+d8460d35 | ALSA-2024:6148 |
| AlmaLinux 8 | npm | Fixed | 1:10.8.1-1.20.16.0.1.module_el8.10.0+3882+e12e42db | ALSA-2024:6148 |
| Rocky Linux 9 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el9.6.0+32185+bd121a25 | RLSA-2024:6147 |
| Rocky Linux 9 | nodejs-packaging | Fixed | 0:2021.06-4.module+el9.5.0+31770+0da7192d | RLSA-2024:6147 |
| Rocky Linux 8 | nodejs | Fixed | 1:18.20.4-1.module+el8.10.0+1865+67d146ca | RLSA-2024:5814 |
| Rocky Linux 8 | nodejs-nodemon | Fixed | 0:3.0.1-1.module+el8.10.0+1666+930e28e8 | RLSA-2024:6148 |
| Rocky Linux 8 | nodejs-packaging | Fixed | 0:2021.06-4.module+el8.10.0+1667+4a788d89 | RLSA-2024:5814 |
| npm library | node-tar | Fixed | 6.2.1 | GHSA-f5x3-32g6-xq36 |
| npm library | tar | Fixed | 6.2.1 | GHSA-f5x3-32g6-xq36 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- isaacs node-tar: affected: < 6.2.1
References
- https://github.com/isaacs/node-tar/security/advisories/GHSA-f5x3-32g6-xq36
- https://github.com/isaacs/node-tar/commit/fe8cd57da5686f8695415414bda49206a545f7f7
- https://security.netapp.com/advisory/ntap-20240524-0005/
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.