Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links

Exploitation and risk

Source status

CISA KEV lists vulnerabilities known to be exploited. FIRST EPSS estimates the likelihood of exploitation in the next 30 days. An unavailable score does not mean zero risk.

Which CVEs have scores here?

This view includes predictions for CVE identifiers explicitly listed in public NuGet advisories. Microsoft release pages have their own prediction coverage. Check source status for the scope and latest checks.

No exploitation or prediction data is available here for these CVEs. This does not mean they are safe or unlikely to be exploited.

cve-program · CVE-2021-37712

Published

The npm package "tar" (aka node-tar) before versions 4.4.18, 5.0.10, and 6.1.9 has an arbitrary file creation/overwrite and arbitrary code execution vulnerability. node-tar aims to guarantee that any file whose location would be modified by a symbolic link is not extracted. This is, in part, achieved by ensuring that extracted directories are not symlinks. Additionally, in order to prevent unnecessary stat calls to determine whether a given path is a directory, paths are cached when directories are created. This logic was insufficient when extracting tar files that contained both a directory and a symlink with names containing unicode values that normalized to the same value. Additionally, on Windows systems, long path portions would resolve to the same file system entities as their 8.3 "short path" counterparts. A specially crafted tar archive could thus include a directory with one form of the path, followed by a symbolic link with a different string that resolves to the same file system entity, followed by a file using the first form. By first creating a directory, and then replacing that directory with a symlink that had a different apparent name that resolved to the same entry in the filesystem, it was thus possible to bypass node-tar symlink checks on directories, essentially allowing an untrusted tar file to symlink into an arbitrary location and subsequently extracting arbitrary files into that location, thus allowing arbitrary file creation and overwrite. These issues were addressed in releases 4.4.18, 5.0.10 and 6.1.9. The v3 branch of node-tar has been deprecated and did not receive patches for these issues. If you are still using a v3 release we recommend you update to a more recent version of node-tar. If this is not possible, a workaround is available in the referenced GHSA-qq89-hq3f-393p.

Source published
31 Aug 2021 00:00:00 UTC
Source modified
4 Aug 2024 01:23:01 UTC
Saved here
23 Oct 2026 15:48:27 UTC
Source terms
CVE Program Terms of Use

Original source record · Cite this exact observation · Complete original publisher JSON

Source: cve-program · CVE Program Terms of Use. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS 3.1 · 8.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

euvd · EUVD-2021-1849

Published

The npm package "tar" (aka node-tar) before versions 4.4.18, 5.0.10, and 6.1.9 has an arbitrary file creation/overwrite and arbitrary code execution vulnerability. node-tar aims to guarantee that any file whose location would be modified by a symbolic link is not extracted. This is, in part, achieved by ensuring that extracted directories are not symlinks. Additionally, in order to prevent unnecessary stat calls to determine whether a given path is a directory, paths are cached when directories are created. This logic was insufficient when extracting tar files that contained both a directory and a symlink with names containing unicode values that normalized to the same value. Additionally, on Windows systems, long path portions would resolve to the same file system entities as their 8.3 "short path" counterparts. A specially crafted tar archive could thus include a directory with one form of the path, followed by a symbolic link with a different string that resolves to the same file system entity, followed by a file using the first form. By first creating a directory, and then replacing that directory with a symlink that had a different apparent name that resolved to the same entry in the filesystem, it was thus possible to bypass node-tar symlink checks on directories, essentially allowing an untrusted tar file to symlink into an arbitrary location and subsequently extracting arbitrary files into that location, thus allowing arbitrary file creation and overwrite. These issues were addressed in releases 4.4.18, 5.0.10 and 6.1.9. The v3 branch of node-tar has been deprecated and did not receive patches for these issues. If you are still using a v3 release we recommend you update to a more recent version of node-tar. If this is not possible, a workaround is available in the referenced GHSA-qq89-hq3f-393p.

Additional publisher context

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Aug 31, 2021, 12:00:00 AM

dateUpdated: Aug 4, 2024, 1:23:01 AM

26 related source bulletins · separate from aliases

ICSA-22-069-09: Siemens SINEC INS

CVE-2019-19242 · CVE-2019-19244 · CVE-2019-19317 · CVE-2019-19603 · CVE-2019-19645 · CVE-2019-19646 · CVE-2019-19880 · CVE-2019-19923 · CVE-2019-19924 · CVE-2019-19925 · CVE-2019-19926 · CVE-2020-1971 · CVE-2020-7774 · CVE-2020-8169 · CVE-2020-8177 · CVE-2020-8231 · CVE-2020-8265 · CVE-2020-8284 · CVE-2020-8285 · CVE-2020-8286 · CVE-2020-8287 · CVE-2020-8625 · CVE-2020-9327 · CVE-2020-11655 · CVE-2020-11656 · CVE-2020-13630 · CVE-2020-13631 · CVE-2020-13632 · CVE-2020-13871 · CVE-2020-15358 · CVE-2020-27304 · CVE-2021-3449 · CVE-2021-3450 · CVE-2021-3672 · CVE-2021-3711 · CVE-2021-3712 · CVE-2021-22876 · CVE-2021-22883 · CVE-2021-22884 · CVE-2021-22890 · CVE-2021-22897 · CVE-2021-22898 · CVE-2021-22901 · CVE-2021-22918 · CVE-2021-22921 · CVE-2021-22922 · CVE-2021-22923 · CVE-2021-22924 · CVE-2021-22925 · CVE-2021-22926 · CVE-2021-22930 · CVE-2021-22931 · CVE-2021-22939 · CVE-2021-22940 · CVE-2021-22945 · CVE-2021-22946 · CVE-2021-22947 · CVE-2021-23362 · CVE-2021-23840 · CVE-2021-25214 · CVE-2021-25215 · CVE-2021-25216 · CVE-2021-25219 · CVE-2021-27290 · CVE-2021-32803 · CVE-2021-32804 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-39134 · CVE-2021-39135

openSUSE-SU-2021:1552-1: Security update for nodejs14

CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-39134 · CVE-2021-39135

WID-SEC-W-2023-0856: IBM QRadar SIEM: Mehrere Schwachstellen

CVE-2020-11655 · CVE-2020-11656 · CVE-2020-13434 · CVE-2020-13435 · CVE-2020-13630 · CVE-2020-13631 · CVE-2020-13632 · CVE-2020-15168 · CVE-2020-15358 · CVE-2020-28469 · CVE-2020-7788 · CVE-2020-9327 · CVE-2021-22918 · CVE-2021-22930 · CVE-2021-22931 · CVE-2021-22939 · CVE-2021-22940 · CVE-2021-23343 · CVE-2021-23362 · CVE-2021-27290 · CVE-2021-32803 · CVE-2021-32804 · CVE-2021-33502 · CVE-2021-3672 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-3807 · CVE-2021-3918

RHSA-2022:0246: Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update

CVE-2020-7788 · CVE-2020-28469 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-22959 · CVE-2021-22960 · CVE-2021-33502 · CVE-2021-37701 · CVE-2021-37712

RHSA-2022:0041: Red Hat Security Advisory: rh-nodejs14-nodejs and rh-nodejs14-nodejs-nodemon security update

CVE-2021-3807 · CVE-2021-3918 · CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712

SUSE-SU-2021:3940-1: Security update for nodejs12

CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-39134 · CVE-2021-39135

SSA-389290: SSA-389290: Third-Party Component Vulnerabilities in SINEC INS

CVE-2019-19242 · CVE-2019-19244 · CVE-2019-19317 · CVE-2019-19603 · CVE-2019-19645 · CVE-2019-19646 · CVE-2019-19880 · CVE-2019-19923 · CVE-2019-19924 · CVE-2019-19925 · CVE-2019-19926 · CVE-2020-1971 · CVE-2020-7774 · CVE-2020-8169 · CVE-2020-8177 · CVE-2020-8231 · CVE-2020-8265 · CVE-2020-8284 · CVE-2020-8285 · CVE-2020-8286 · CVE-2020-8287 · CVE-2020-8625 · CVE-2020-9327 · CVE-2020-11655 · CVE-2020-11656 · CVE-2020-13630 · CVE-2020-13631 · CVE-2020-13632 · CVE-2020-13871 · CVE-2020-15358 · CVE-2020-27304 · CVE-2021-3449 · CVE-2021-3450 · CVE-2021-3672 · CVE-2021-3711 · CVE-2021-3712 · CVE-2021-22876 · CVE-2021-22883 · CVE-2021-22884 · CVE-2021-22890 · CVE-2021-22897 · CVE-2021-22898 · CVE-2021-22901 · CVE-2021-22918 · CVE-2021-22921 · CVE-2021-22922 · CVE-2021-22923 · CVE-2021-22924 · CVE-2021-22925 · CVE-2021-22926 · CVE-2021-22930 · CVE-2021-22931 · CVE-2021-22939 · CVE-2021-22940 · CVE-2021-22945 · CVE-2021-22946 · CVE-2021-22947 · CVE-2021-23362 · CVE-2021-23840 · CVE-2021-25214 · CVE-2021-25215 · CVE-2021-25216 · CVE-2021-25219 · CVE-2021-27290 · CVE-2021-32803 · CVE-2021-32804 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-39134 · CVE-2021-39135

RHEA-2022:5615: Red Hat Enhancement Advisory: nodejs:12 bug fix and enhancement update

CVE-2021-3918 · CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-44531 · CVE-2021-44532 · CVE-2021-44533 · CVE-2022-21824

RHEA-2022:5221: Red Hat Enhancement Advisory: nodejs:12 bug fix and enhancement update

CVE-2021-3918 · CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-44531 · CVE-2021-44532 · CVE-2021-44533 · CVE-2022-21824

SUSE-SU-2021:3964-1: Security update for nodejs14

CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-39134 · CVE-2021-39135

WID-SEC-W-2022-1603: IBM Tivoli Netcool/OMNIbus: Mehrere Schwachstellen

CVE-2017-16028 · CVE-2018-3719 · CVE-2018-3745 · CVE-2018-6341 · CVE-2019-10746 · CVE-2019-10747 · CVE-2020-15168 · CVE-2020-7733 · CVE-2020-7774 · CVE-2020-7788 · CVE-2020-7793 · CVE-2021-23362 · CVE-2021-23440 · CVE-2021-25949 · CVE-2021-27292 · CVE-2021-32803 · CVE-2021-32804 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-42740 · CVE-2022-0235 · CVE-2022-25758 · CVE-2022-25858

openSUSE-SU-2021:3940-1: Security update for nodejs12

CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-39134 · CVE-2021-39135

openSUSE-SU-2021:3964-1: Security update for nodejs14

CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-39134 · CVE-2021-39135

SUSE-SU-2021:3886-1: Security update for nodejs14

CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-39134 · CVE-2021-39135

RHSA-2021:5086: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.9.0 enhancement, security, and bug fix update

CVE-2020-8565 · CVE-2021-32803 · CVE-2021-32804 · CVE-2021-33195 · CVE-2021-33197 · CVE-2021-33198 · CVE-2021-34558 · CVE-2021-37701 · CVE-2021-37712

RHSA-2022:4914: Red Hat Security Advisory: rh-nodejs12-nodejs security, bug fix, and enhancement update

CVE-2021-3918 · CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-44531 · CVE-2021-44532 · CVE-2021-44533 · CVE-2021-44906 · CVE-2022-21824

WID-SEC-W-2022-0092: Node.js: Mehrere Schwachstellen ermöglichen Manipulation von Dateien

CVE-2021-32803 · CVE-2021-32804 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-39134 · CVE-2021-39135

WID-SEC-W-2024-1591: Juniper JUNOS: Mehrere Schwachstellen

CVE-2006-20001 · CVE-2007-5846 · CVE-2008-6123 · CVE-2011-1473 · CVE-2011-5094 · CVE-2012-6151 · CVE-2014-10064 · CVE-2014-2285 · CVE-2014-2310 · CVE-2014-3565 · CVE-2014-7191 · CVE-2014-8882 · CVE-2015-5621 · CVE-2015-8100 · CVE-2015-9262 · CVE-2016-1000232 · CVE-2016-10540 · CVE-2016-4658 · CVE-2017-1000048 · CVE-2017-15010 · CVE-2018-18065 · CVE-2018-20834 · CVE-2018-3737 · CVE-2018-7408 · CVE-2019-10081 · CVE-2019-10082 · CVE-2019-10092 · CVE-2019-10097 · CVE-2019-10098 · CVE-2019-11719 · CVE-2019-11727 · CVE-2019-11756 · CVE-2019-16775 · CVE-2019-16776 · CVE-2019-16777 · CVE-2019-17006 · CVE-2019-17023 · CVE-2019-17567 · CVE-2019-20149 · CVE-2019-20892 · CVE-2019-9517 · CVE-2020-11668 · CVE-2020-11984 · CVE-2020-11993 · CVE-2020-12362 · CVE-2020-12400 · CVE-2020-12401 · CVE-2020-12402 · CVE-2020-12403 · CVE-2020-13938 · CVE-2020-13950 · CVE-2020-14145 · CVE-2020-15861 · CVE-2020-15862 · CVE-2020-1927 · CVE-2020-1934 · CVE-2020-28469 · CVE-2020-28502 · CVE-2020-35452 · CVE-2020-36049 · CVE-2020-6829 · CVE-2020-7660 · CVE-2020-7754 · CVE-2020-7774 · CVE-2020-8648 · CVE-2020-9490 · CVE-2021-22543 · CVE-2021-2342 · CVE-2021-23440 · CVE-2021-2356 · CVE-2021-2372 · CVE-2021-2385 · CVE-2021-2389 · CVE-2021-2390 · CVE-2021-25745 · CVE-2021-25746 · CVE-2021-25748 · CVE-2021-26690 · CVE-2021-26691 · CVE-2021-27290 · CVE-2021-29469 · CVE-2021-30641 · CVE-2021-31535 · CVE-2021-31618 · CVE-2021-3177 · CVE-2021-32803 · CVE-2021-32804 · CVE-2021-33033 · CVE-2021-33034 · CVE-2021-33193 · CVE-2021-3347 · CVE-2021-33909 · CVE-2021-34798 · CVE-2021-35604 · CVE-2021-35624 · CVE-2021-36160 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-3803 · CVE-2021-39275 · CVE-2021-40438 · CVE-2021-41524 · CVE-2021-41773 · CVE-2021-42013 · CVE-2021-43527 · CVE-2021-44224 · CVE-2021-44225 · CVE-2021-44790 · CVE-2021-44906 · CVE-2022-21245 · CVE-2022-21270 · CVE-2022-21303 · CVE-2022-21304 · CVE-2022-21344 · CVE-2022-21367 · CVE-2022-21417 · CVE-2022-21427 · CVE-2022-21444 · CVE-2022-21451 · CVE-2022-21454 · CVE-2022-21460 · CVE-2022-21589 · CVE-2022-21592 · CVE-2022-21595 · CVE-2022-21608 · CVE-2022-21617 · CVE-2022-22719 · CVE-2022-22720 · CVE-2022-22721 · CVE-2022-22822 · CVE-2022-22823 · CVE-2022-22824 · CVE-2022-23471 · CVE-2022-23524 · CVE-2022-23525 · CVE-2022-23526 · CVE-2022-23852 · CVE-2022-23943 · CVE-2022-25147 · CVE-2022-25235 · CVE-2022-25236 · CVE-2022-2526 · CVE-2022-25315 · CVE-2022-26377 · CVE-2022-28330 · CVE-2022-28614 · CVE-2022-28615 · CVE-2022-29167 · CVE-2022-29404 · CVE-2022-30522 · CVE-2022-30556 · CVE-2022-31813 · CVE-2022-3517 · CVE-2022-3564 · CVE-2022-36760 · CVE-2022-37434 · CVE-2022-37436 · CVE-2022-40674 · CVE-2022-41741 · CVE-2022-41742 · CVE-2022-4203 · CVE-2022-4304 · CVE-2022-4450 · CVE-2022-46663 · CVE-2022-4886 · CVE-2023-0215 · CVE-2023-0216 · CVE-2023-0217 · CVE-2023-0286 · CVE-2023-0401 · CVE-2023-0464 · CVE-2023-0465 · CVE-2023-0466 · CVE-2023-0767 · CVE-2023-1255 · CVE-2023-2002 · CVE-2023-20593 · CVE-2023-21830 · CVE-2023-21840 · CVE-2023-21843 · CVE-2023-21912 · CVE-2023-21963 · CVE-2023-21980 · CVE-2023-22025 · CVE-2023-22067 · CVE-2023-22081 · CVE-2023-22652 · CVE-2023-24329 · CVE-2023-25153 · CVE-2023-25173 · CVE-2023-25690 · CVE-2023-2700 · CVE-2023-27522 · CVE-2023-2828 · CVE-2023-28840 · CVE-2023-28841 · CVE-2023-28842 · CVE-2023-2975 · CVE-2023-30079 · CVE-2023-30630 · CVE-2023-3090 · CVE-2023-32067 · CVE-2023-32360 · CVE-2023-32435 · CVE-2023-32439 · CVE-2023-32732 · CVE-2023-3341 · CVE-2023-3390 · CVE-2023-33953 · CVE-2023-34058 · CVE-2023-34059 · CVE-2023-3446 · CVE-2023-34969 · CVE-2023-35001 · CVE-2023-35788 · CVE-2023-3611 · CVE-2023-37450 · CVE-2023-3776 · CVE-2023-3817 · CVE-2023-4004 · CVE-2023-4206 · CVE-2023-4207 · CVE-2023-4208 · CVE-2023-42753 · CVE-2023-4785 · CVE-2023-4807 · CVE-2023-4863 · CVE-2023-5043 · CVE-2023-5129 · CVE-2023-5363 · CVE-2024-20918 · CVE-2024-20919 · CVE-2024-20921 · CVE-2024-20926 · CVE-2024-20932 · CVE-2024-20945 · CVE-2024-20952 · CVE-2024-39511 · CVE-2024-39512 · CVE-2024-39513 · CVE-2024-39514 · CVE-2024-39517 · CVE-2024-39518 · CVE-2024-39519 · CVE-2024-39520 · CVE-2024-39521 · CVE-2024-39522 · CVE-2024-39523 · CVE-2024-39524 · CVE-2024-39528 · CVE-2024-39529 · CVE-2024-39530 · CVE-2024-39531 · CVE-2024-39532 · CVE-2024-39533 · CVE-2024-39535 · CVE-2024-39536 · CVE-2024-39537 · CVE-2024-39538 · CVE-2024-39539 · CVE-2024-39540 · CVE-2024-39541 · CVE-2024-39542 · CVE-2024-39543 · CVE-2024-39545 · CVE-2024-39546 · CVE-2024-39548 · CVE-2024-39549 · CVE-2024-39550 · CVE-2024-39551 · CVE-2024-39553 · CVE-2024-39554 · CVE-2024-39555 · CVE-2024-39556 · CVE-2024-39557 · CVE-2024-39558 · CVE-2024-39559 · CVE-2024-39560 · CVE-2024-39561 · CVE-2024-39565

WID-SEC-W-2023-0809: IBM QRadar SIEM: Mehrere Schwachstellen

CVE-2023-22809 · CVE-2022-4883 · CVE-2022-46364 · CVE-2022-46363 · CVE-2022-45143 · CVE-2022-42890 · CVE-2022-4254 · CVE-2022-42252 · CVE-2022-41966 · CVE-2022-41946 · CVE-2022-41704 · CVE-2022-40156 · CVE-2022-40155 · CVE-2022-40154 · CVE-2022-40153 · CVE-2022-40152 · CVE-2022-40150 · CVE-2022-40149 · CVE-2022-37603 · CVE-2022-37601 · CVE-2022-37599 · CVE-2022-37598 · CVE-2022-3676 · CVE-2022-36364 · CVE-2022-36033 · CVE-2022-34917 · CVE-2022-31197 · CVE-2022-31129 · CVE-2022-2964 · CVE-2022-28733 · CVE-2022-2795 · CVE-2022-25927 · CVE-2022-25901 · CVE-2022-25758 · CVE-2022-25647 · CVE-2022-24999 · CVE-2022-24839 · CVE-2022-24823 · CVE-2022-24785 · CVE-2022-23437 · CVE-2022-22971 · CVE-2022-22970 · CVE-2022-21724 · CVE-2022-21628 · CVE-2022-21626 · CVE-2022-21624 · CVE-2022-21619 · CVE-2021-43797 · CVE-2021-42740 · CVE-2021-42581 · CVE-2021-39227 · CVE-2021-3918 · CVE-2021-3807 · CVE-2021-37713 · CVE-2021-37712 · CVE-2021-37701 · CVE-2021-3765 · CVE-2021-37137 · CVE-2021-37136 · CVE-2021-32804 · CVE-2021-32803 · CVE-2021-29060 · CVE-2021-26401 · CVE-2021-25220 · CVE-2021-23450 · CVE-2021-23382 · CVE-2021-23368 · CVE-2021-23364 · CVE-2021-23362 · CVE-2021-23343 · CVE-2021-21409 · CVE-2021-21295 · CVE-2021-21290 · CVE-2020-7764 · CVE-2020-5259 · CVE-2020-24025 · CVE-2020-15366 · CVE-2020-13936 · CVE-2019-6286 · CVE-2019-6284 · CVE-2019-6283 · CVE-2019-10785 · CVE-2018-8036 · CVE-2018-20821 · CVE-2018-20190 · CVE-2018-19839 · CVE-2018-19838 · CVE-2018-19827 · CVE-2018-19797 · CVE-2018-15494 · CVE-2018-11698 · CVE-2018-11694

RHSA-2026:100741: Red Hat Security Advisory: Red Hat OpenShift Data Foundation 5.0.0 security, enhancement & bug fix update

CVE-2017-16137 · CVE-2020-7598 · CVE-2020-7608 · CVE-2020-7610 · CVE-2020-7788 · CVE-2020-8203 · CVE-2020-8237 · CVE-2020-15168 · CVE-2020-15366 · CVE-2020-28500 · CVE-2021-3807 · CVE-2021-23337 · CVE-2021-23343 · CVE-2021-32640 · CVE-2021-32804 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-43138 · CVE-2021-44906 · CVE-2022-0235 · CVE-2022-3517 · CVE-2022-23539 · CVE-2022-23540 · CVE-2022-23541 · CVE-2022-24785 · CVE-2022-24999 · CVE-2022-25883 · CVE-2022-31129 · CVE-2023-0842 · CVE-2023-45133 · CVE-2024-21538 · CVE-2024-28863 · CVE-2024-29041 · CVE-2024-37890 · CVE-2024-43796 · CVE-2024-43799 · CVE-2024-43800 · CVE-2024-45296 · CVE-2024-45590 · CVE-2024-47764 · CVE-2024-52798 · CVE-2025-5889 · CVE-2025-7339 · CVE-2025-7783 · CVE-2025-8766 · CVE-2025-13465 · CVE-2025-64718 · CVE-2025-65945 · CVE-2025-69873 · CVE-2026-2391 · CVE-2026-2950 · CVE-2026-4800 · CVE-2026-4867 · CVE-2026-12143 · CVE-2026-12590 · CVE-2026-13149 · CVE-2026-23745 · CVE-2026-23950 · CVE-2026-24842 · CVE-2026-26960 · CVE-2026-26996 · CVE-2026-27903 · CVE-2026-27904 · CVE-2026-29786 · CVE-2026-31802 · CVE-2026-33532 · CVE-2026-33750 · CVE-2026-48779 · CVE-2026-53550 · CVE-2026-53655 · CVE-2026-56851 · CVE-2026-59869 · CVE-2026-59871 · CVE-2026-59873 · CVE-2026-59874 · CVE-2026-59875 · CVE-2026-61801 · CVE-2026-69152 · CVE-2026-73566 · CVE-2026-82417 · CVE-2026-84304 · CVE-2026-84375 · CVE-2026-87776 · CVE-2026-90711 · CVE-2026-102276 · CVE-2026-102277 · CVE-2026-102278

SUSE-SU-2022:0101-1: Security update for nodejs12

CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-39134 · CVE-2021-39135 · CVE-2021-44531 · CVE-2021-44532 · CVE-2021-44533 · CVE-2022-21824

RHEA-2022:4925: Red Hat Enhancement Advisory: nodejs:12 bug fix and enhancement update

CVE-2021-3918 · CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-44531 · CVE-2021-44532 · CVE-2021-44533 · CVE-2022-21824

RHEA-2022:5139: Red Hat Enhancement Advisory: nodejs:12 bug fix and enhancement update

CVE-2021-3918 · CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-44531 · CVE-2021-44532 · CVE-2021-44533 · CVE-2022-21824

RHSA-2022:0350: Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update

CVE-2020-7788 · CVE-2020-28469 · CVE-2021-3807 · CVE-2021-3918 · CVE-2021-22959 · CVE-2021-22960 · CVE-2021-33502 · CVE-2021-37701 · CVE-2021-37712

openSUSE-SU-2021:1574-1: Security update for nodejs12

CVE-2021-22959 · CVE-2021-22960 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-39134 · CVE-2021-39135

WID-SEC-W-2023-0857: IBM QRadar SIEM: Mehrere Schwachstellen

CVE-2020-15168 · CVE-2020-24025 · CVE-2020-28469 · CVE-2020-28498 · CVE-2020-28500 · CVE-2020-7793 · CVE-2021-23337 · CVE-2021-27292 · CVE-2021-29060 · CVE-2021-32803 · CVE-2021-32804 · CVE-2021-33502 · CVE-2021-33623 · CVE-2021-37701 · CVE-2021-37712 · CVE-2021-37713 · CVE-2021-3807

Source published
Aug 31, 2021, 12:00:00 AM (timezone not stated)
Source modified
Aug 4, 2024, 1:23:01 AM (timezone not stated)
Saved here
24 Nov 2026 14:29:26 UTC
Source terms
ENISA EUVD · source terms and attribution apply

Original source record · Cite this exact observation · Complete original publisher JSON

Source: euvd · ENISA EUVD · source terms and attribution apply. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

EUVD CVSS 3.1 · 8.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

nvd · CVE-2021-37712

Published

The npm package "tar" (aka node-tar) before versions 4.4.18, 5.0.10, and 6.1.9 has an arbitrary file creation/overwrite and arbitrary code execution vulnerability. node-tar aims to guarantee that any file whose location would be modified by a symbolic link is not extracted. This is, in part, achieved by ensuring that extracted directories are not symlinks. Additionally, in order to prevent unnecessary stat calls to determine whether a given path is a directory, paths are cached when directories are created. This logic was insufficient when extracting tar files that contained both a directory and a symlink with names containing unicode values that normalized to the same value. Additionally, on Windows systems, long path portions would resolve to the same file system entities as their 8.3 "short path" counterparts. A specially crafted tar archive could thus include a directory with one form of the path, followed by a symbolic link with a different string that resolves to the same file system entity, followed by a file using the first form. By first creating a directory, and then replacing that directory with a symlink that had a different apparent name that resolved to the same entry in the filesystem, it was thus possible to bypass node-tar symlink checks on directories, essentially allowing an untrusted tar file to symlink into an arbitrary location and subsequently extracting arbitrary files into that location, thus allowing arbitrary file creation and overwrite. These issues were addressed in releases 4.4.18, 5.0.10 and 6.1.9. The v3 branch of node-tar has been deprecated and did not receive patches for these issues. If you are still using a v3 release we recommend you update to a more recent version of node-tar. If this is not possible, a workaround is available in the referenced GHSA-qq89-hq3f-393p.

Additional publisher context

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Modified

Weakness classifications: CWE-22 · CWE-59

Original publisher date fields

published: 2021-08-31T17:15:08.023

lastModified: 2026-06-17T04:01:02.253

7 source CPE criteria · context only
  • cpe:2.3:a:npmjs:tar:*:*:*:*:*:node.js:*:*
  • cpe:2.3:o:microsoft:windows:-:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
  • cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
  • cpe:2.3:a:oracle:graalvm:20.3.3:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:oracle:graalvm:21.2.0:*:*:*:enterprise:*:*:*
  • cpe:2.3:a:siemens:sinec_infrastructure_network_services:*:*:*:*:*:*:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

Source published
31 Aug 2021 17:15:08 UTC
Source modified
17 Jun 2026 04:01:02 UTC
Saved here
24 Oct 2026 18:17:33 UTC
Source terms
NIST NVD usage terms; underlying source attribution retained

Original source record · Cite this exact observation · Complete original publisher JSON

Source: nvd · NIST NVD usage terms; underlying source attribution retained. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS 3.1 · [email protected] · Secondary · 8.2 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

CVSS 3.1 · [email protected] · Primary · 8.6 CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

CVSS 2.0 · [email protected] · Primary · 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P

osv · GHSA-qq89-hq3f-393p

Published

### Impact Arbitrary File Creation, Arbitrary File Overwrite, Arbitrary Code Execution node-tar aims to guarantee that any file whose location would be modified by a symbolic link is not extracted. This is, in part, achieved by ensuring that extracted directories are not symlinks. Additionally, in order to prevent unnecessary stat calls to determine whether a given path is a directory, paths are cached when directories are created. This logic was insufficient when extracting tar files that contained two directories and a symlink with names containing unicode values that normalized to the same value. Additionally, on Windows systems, long path portions would resolve to the same file system entities as their 8.3 "short path" counterparts. A specially crafted tar archive could thus include directories with two forms of the path that resolve to the same file system entity, followed by a symbolic link with a name in the first form, lastly followed by a file using the second form. It led to bypassing node-tar symlink checks on directories, essentially allowing an untrusted tar file to symlink into an arbitrary location and subsequently extracting arbitrary files into that location, thus allowing arbitrary file creation and overwrite. The v3 branch of `node-tar` has been deprecated and did not receive patches for these issues. If you are still using a v3 release we recommend you update to a more recent version of `node-tar`. If this is not possible, a workaround is available below. ### Patches 6.1.9 || 5.0.10 || 4.4.18 ### Workarounds Users may work around this vulnerability without upgrading by creating a custom filter method which prevents the extraction of symbolic links. ```js const tar = require('tar') tar.x({ file: 'archive.tgz', filter: (file, entry) => { if (entry.type === 'SymbolicLink') { return false } else { return true } } }) ``` Users are encouraged to upgrade to the latest patched versions, rather than attempt to sanitize tar input themselves. #### Fix The problem is addressed in the following ways, when comparing paths in the directory cache and path reservation systems: 1. The `String.normalize('NFKD')` method is used to first normalize all unicode to its maximally compatible and multi-code-point form. 2. All slashes are normalized to `/` on Windows systems (on posix systems, `\` is a valid filename character, and thus left intact). 3. When a symbolic link is encountered on Windows systems, the entire directory cache is cleared. Collisions related to use of 8.3 short names to replace directories with other (non-symlink) types of entries may make archives fail to extract properly, but will not result in arbitrary file writes.

Source published
31 Aug 2021 16:05:17 UTC
Source modified
8 Jul 2026 06:28:24 UTC
Saved here
24 Oct 2026 13:17:17 UTC
Source terms
GitHub Advisory Database · CC-BY-4.0

Original source record · Cite this exact observation · Complete original publisher JSON

Source: osv · GitHub Advisory Database · CC-BY-4.0. The publisher's wording is preserved. ChangeIntel groups the information and labels changes. The JSON record includes additional source fields.

CVSS_V3 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N

Publisher rating · HIGH

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 25 Nov 15:36 UTC · 277 of 278 readable · 272 fully read · documentation 469/469 current