CVEfocus › CVE database › CVE-2024-28863

CVE-2024-28863node-tar vulnerable to denial of service while parsing a tar file due to lack of folders…

CVSS 6.5 MediumEPSS 1.1% (higher than 64% of CVEs)Published 2024-03-21Updated 2025-02-13Assigner: GitHub_M

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.

CWE-400CWE-770

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

42Fixed
2Fix pending
1Under investigation
1Will not fix
24Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04node-tarNot affected
vulnerable_code_not_present
Ubuntu 25.10node-tarNot affected
vulnerable_code_not_present
Ubuntu 24.04node-tarUnder investigationUBUNTU-CVE-2024-28863
Ubuntu 22.04node-tarFix pendingUBUNTU-CVE-2024-28863
Ubuntu 20.04node-tarFix pendingUBUNTU-CVE-2024-28863
Debian 14node-tarFixed6.1.13+~cs7.0.5-2DEBIAN-CVE-2024-28863
Debian 13node-tarFixed6.1.13+~cs7.0.5-2DEBIAN-CVE-2024-28863
Debian 12node-tarFixed6.1.13+~cs7.0.5-1+deb12u1DEBIAN-CVE-2024-28863
Red Hat Enterprise Linux 10nodejs20Will not fix
Will not fix
Red Hat Enterprise Linux 9gjsNot affected
Red Hat Enterprise Linux 9gjs-develNot affected
Red Hat Enterprise Linux 9nodejsFixed1:18.20.4-1.module+el9.4.0+22195+c221878eRHSA-2024:6147
Red Hat Enterprise Linux 9nodejs-develFixed1:18.20.4-1.module+el9.4.0+22195+c221878eRHSA-2024:6147
Red Hat Enterprise Linux 9nodejs-docsFixed1:18.20.4-1.module+el9.4.0+22195+c221878eRHSA-2024:6147
Red Hat Enterprise Linux 9nodejs-full-i18nFixed1:18.20.4-1.module+el9.4.0+22195+c221878eRHSA-2024:6147
Red Hat Enterprise Linux 9nodejs-nodemonFixed0:3.0.1-1.module+el9.3.0+19762+d716bf3bRHSA-2024:6147
Red Hat Enterprise Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.1.0+15718+e52ec601RHSA-2024:6147
Red Hat Enterprise Linux 9nodejs-packaging-bundlerFixed0:2021.06-4.module+el9.1.0+15718+e52ec601RHSA-2024:6147
Red Hat Enterprise Linux 9npmFixed1:10.7.0-1.18.20.4.1.module+el9.4.0+22195+c221878eRHSA-2024:6147
Red Hat Enterprise Linux 9polkitNot affected
Red Hat Enterprise Linux 9polkit-develNot affected
Red Hat Enterprise Linux 9polkit-docsNot affected
Red Hat Enterprise Linux 9polkit-libsNot affected
Red Hat Enterprise Linux 8grafanaNot affected
Red Hat Enterprise Linux 8grafana-azure-monitorNot affected
Red Hat Enterprise Linux 8grafana-cloudwatchNot affected
Red Hat Enterprise Linux 8grafana-elasticsearchNot affected
Red Hat Enterprise Linux 8grafana-graphiteNot affected
Red Hat Enterprise Linux 8grafana-influxdbNot affected
Red Hat Enterprise Linux 8grafana-lokiNot affected
Red Hat Enterprise Linux 8grafana-mssqlNot affected
Red Hat Enterprise Linux 8grafana-mysqlNot affected
Red Hat Enterprise Linux 8grafana-opentsdbNot affected
Red Hat Enterprise Linux 8grafana-postgresNot affected
Red Hat Enterprise Linux 8grafana-prometheusNot affected
Red Hat Enterprise Linux 8grafana-selinuxNot affected
Red Hat Enterprise Linux 8grafana-stackdriverNot affected
Red Hat Enterprise Linux 8mozjs60Not affected
Red Hat Enterprise Linux 8mozjs60-develNot affected
Red Hat Enterprise Linux 8nodejsFixed1:18.20.4-1.module+el8.10.0+22199+56ea0eadRHSA-2024:5814
Red Hat Enterprise Linux 8nodejs-develFixed1:18.20.4-1.module+el8.10.0+22199+56ea0eadRHSA-2024:5814
Red Hat Enterprise Linux 8nodejs-docsFixed1:20.16.0-1.module+el8.10.0+22203+a88c8310RHSA-2024:6148
Red Hat Enterprise Linux 8nodejs-full-i18nFixed1:18.20.4-1.module+el8.10.0+22199+56ea0eadRHSA-2024:5814
Red Hat Enterprise Linux 8nodejs-nodemonFixed0:3.0.1-1.module+el8.10.0+21159+f5a7145dRHSA-2024:5814
Red Hat Enterprise Linux 8nodejs-packagingFixed0:2021.06-4.module+el8.9.0+19519+e25b965aRHSA-2024:6148
Red Hat Enterprise Linux 8nodejs-packaging-bundlerFixed0:2021.06-4.module+el8.9.0+19519+e25b965aRHSA-2024:6148
Red Hat Enterprise Linux 8npmFixed1:10.7.0-1.18.20.4.1.module+el8.10.0+22199+56ea0eadRHSA-2024:5814
AlmaLinux 9nodejsFixed1:18.20.4-1.module_el9.4.0+112+bb28ff81ALSA-2024:6147
AlmaLinux 9nodejs-develFixed1:18.20.4-1.module_el9.4.0+112+bb28ff81ALSA-2024:6147
AlmaLinux 9nodejs-docsFixed1:18.20.4-1.module_el9.4.0+112+bb28ff81ALSA-2024:6147
AlmaLinux 9nodejs-full-i18nFixed1:18.20.4-1.module_el9.4.0+112+bb28ff81ALSA-2024:6147
AlmaLinux 9nodejs-nodemonFixed3.0.1-1.module_el9.2.0+36+853e48f5ALSA-2024:6147
AlmaLinux 9nodejs-packagingFixed2021.06-4.module_el9.1.0+13+d9a595eaALSA-2024:6147
AlmaLinux 9nodejs-packaging-bundlerFixed2021.06-4.module_el9.1.0+13+d9a595eaALSA-2024:6147
AlmaLinux 9npmFixed1:10.7.0-1.18.20.4.1.module_el9.4.0+112+bb28ff81ALSA-2024:6147
AlmaLinux 8nodejsFixed1:20.16.0-1.module_el8.10.0+3882+e12e42dbALSA-2024:6148
AlmaLinux 8nodejs-develFixed1:20.16.0-1.module_el8.10.0+3882+e12e42dbALSA-2024:6148
AlmaLinux 8nodejs-docsFixed1:20.16.0-1.module_el8.10.0+3882+e12e42dbALSA-2024:6148
AlmaLinux 8nodejs-full-i18nFixed1:20.16.0-1.module_el8.10.0+3882+e12e42dbALSA-2024:6148
AlmaLinux 8nodejs-nodemonFixed3.0.1-1.module_el8.8.0+3613+1ed8c91dALSA-2024:5814
AlmaLinux 8nodejs-packagingFixed2021.06-4.module_el8.7.0+3343+ea2b7901ALSA-2024:5814
AlmaLinux 8nodejs-packaging-bundlerFixed2021.06-4.module_el8.9.0+3775+d8460d35ALSA-2024:6148
AlmaLinux 8npmFixed1:10.8.1-1.20.16.0.1.module_el8.10.0+3882+e12e42dbALSA-2024:6148
Rocky Linux 9nodejs-nodemonFixed0:3.0.1-1.module+el9.6.0+32185+bd121a25RLSA-2024:6147
Rocky Linux 9nodejs-packagingFixed0:2021.06-4.module+el9.5.0+31770+0da7192dRLSA-2024:6147
Rocky Linux 8nodejsFixed1:18.20.4-1.module+el8.10.0+1865+67d146caRLSA-2024:5814
Rocky Linux 8nodejs-nodemonFixed0:3.0.1-1.module+el8.10.0+1666+930e28e8RLSA-2024:6148
Rocky Linux 8nodejs-packagingFixed0:2021.06-4.module+el8.10.0+1667+4a788d89RLSA-2024:5814
npm librarynode-tarFixed6.2.1GHSA-f5x3-32g6-xq36
npm librarytarFixed6.2.1GHSA-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.

References

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.