{"id":"EUVD-2021-1849","revision":null,"records":[{"revision":"9b686d1b4b044aafbfc6d4000f214b49","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-37712","aliases":[],"title":"Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links","description":"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.","state":0,"publishedAt":"2021-08-31T00:00:00+00:00","modifiedAt":"2024-08-04T01:23:01.507+00:00","affected":[{"ecosystem":"Vendor product","name":"node-tar","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"npm\",\n                    \"product\": \"node-tar\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 4.4.18\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 5.0.0, < 5.0.10\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 6.0.0, < 6.1.9\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":8.2,"severity":"HIGH"}],"references":["https://www.npmjs.com/package/tar","https://github.com/npm/node-tar/security/advisories/GHSA-qq89-hq3f-393p","https://www.oracle.com/security-alerts/cpuoct2021.html","https://www.debian.org/security/2021/dsa-5008","https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","https://lists.debian.org/debian-lts-announce/2022/12/msg00023.html"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-37712","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-37712","identifiers":["CVE-2021-37712"]},"retained":false,"historicalAffected":[]},{"revision":"557c5695602b4fb0833b3db1aefb9c64","observedAt":"2026-11-24T14:29:26.923+00:00","statement":{"source":"euvd","id":"EUVD-2021-1849","aliases":["CVE-2021-37712","GHSA-qq89-hq3f-393p"],"title":"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…","description":"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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":8.2,"severity":null}],"references":["https://www.npmjs.com/package/tar","https://github.com/npm/node-tar/security/advisories/GHSA-qq89-hq3f-393p","https://www.oracle.com/security-alerts/cpuoct2021.html","https://www.debian.org/security/2021/dsa-5008","https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","https://lists.debian.org/debian-lts-announce/2022/12/msg00023.html"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1849","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 31, 2021, 12:00:00 AM","dateUpdated":"Aug 4, 2024, 1:23:01 AM"},"relatedAdvisories":[{"id":"ICSA-22-069-09","title":"Siemens SINEC INS","vulnerabilityIds":["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"]},{"id":"openSUSE-SU-2021:1552-1","title":"Security update for nodejs14","vulnerabilityIds":["CVE-2021-22959","CVE-2021-22960","CVE-2021-37701","CVE-2021-37712","CVE-2021-37713","CVE-2021-39134","CVE-2021-39135"]},{"id":"WID-SEC-W-2023-0856","title":"IBM QRadar SIEM: Mehrere Schwachstellen","vulnerabilityIds":["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"]},{"id":"RHSA-2022:0246","title":"Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update","vulnerabilityIds":["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"]},{"id":"RHSA-2022:0041","title":"Red Hat Security Advisory: rh-nodejs14-nodejs and rh-nodejs14-nodejs-nodemon security update","vulnerabilityIds":["CVE-2021-3807","CVE-2021-3918","CVE-2021-22959","CVE-2021-22960","CVE-2021-37701","CVE-2021-37712"]},{"id":"SUSE-SU-2021:3940-1","title":"Security update for nodejs12","vulnerabilityIds":["CVE-2021-22959","CVE-2021-22960","CVE-2021-37701","CVE-2021-37712","CVE-2021-37713","CVE-2021-39134","CVE-2021-39135"]},{"id":"SSA-389290","title":"SSA-389290: Third-Party Component Vulnerabilities in SINEC INS","vulnerabilityIds":["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"]},{"id":"RHEA-2022:5615","title":"Red Hat Enhancement Advisory: nodejs:12 bug fix and enhancement update","vulnerabilityIds":["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"]},{"id":"RHEA-2022:5221","title":"Red Hat Enhancement Advisory: nodejs:12 bug fix and enhancement update","vulnerabilityIds":["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"]},{"id":"SUSE-SU-2021:3964-1","title":"Security update for nodejs14","vulnerabilityIds":["CVE-2021-22959","CVE-2021-22960","CVE-2021-37701","CVE-2021-37712","CVE-2021-37713","CVE-2021-39134","CVE-2021-39135"]},{"id":"WID-SEC-W-2022-1603","title":"IBM Tivoli Netcool/OMNIbus: Mehrere Schwachstellen","vulnerabilityIds":["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"]},{"id":"openSUSE-SU-2021:3940-1","title":"Security update for nodejs12","vulnerabilityIds":["CVE-2021-22959","CVE-2021-22960","CVE-2021-37701","CVE-2021-37712","CVE-2021-37713","CVE-2021-39134","CVE-2021-39135"]},{"id":"openSUSE-SU-2021:3964-1","title":"Security update for nodejs14","vulnerabilityIds":["CVE-2021-22959","CVE-2021-22960","CVE-2021-37701","CVE-2021-37712","CVE-2021-37713","CVE-2021-39134","CVE-2021-39135"]},{"id":"SUSE-SU-2021:3886-1","title":"Security update for nodejs14","vulnerabilityIds":["CVE-2021-22959","CVE-2021-22960","CVE-2021-37701","CVE-2021-37712","CVE-2021-37713","CVE-2021-39134","CVE-2021-39135"]},{"id":"RHSA-2021:5086","title":"Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.9.0 enhancement, security, and bug fix update","vulnerabilityIds":["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"]},{"id":"RHSA-2022:4914","title":"Red Hat Security Advisory: rh-nodejs12-nodejs security, bug fix, and enhancement update","vulnerabilityIds":["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"]},{"id":"WID-SEC-W-2022-0092","title":"Node.js: Mehrere Schwachstellen ermöglichen Manipulation von Dateien","vulnerabilityIds":["CVE-2021-32803","CVE-2021-32804","CVE-2021-37701","CVE-2021-37712","CVE-2021-37713","CVE-2021-39134","CVE-2021-39135"]},{"id":"WID-SEC-W-2024-1591","title":"Juniper JUNOS: Mehrere Schwachstellen","vulnerabilityIds":["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"]},{"id":"WID-SEC-W-2023-0809","title":"IBM QRadar SIEM: Mehrere Schwachstellen","vulnerabilityIds":["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"]},{"id":"RHSA-2026:100741","title":"Red Hat Security Advisory: Red Hat OpenShift Data Foundation 5.0.0 security, enhancement & bug fix update","vulnerabilityIds":["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"]},{"id":"SUSE-SU-2022:0101-1","title":"Security update for nodejs12","vulnerabilityIds":["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"]},{"id":"RHEA-2022:4925","title":"Red Hat Enhancement Advisory: nodejs:12 bug fix and enhancement update","vulnerabilityIds":["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"]},{"id":"RHEA-2022:5139","title":"Red Hat Enhancement Advisory: nodejs:12 bug fix and enhancement update","vulnerabilityIds":["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"]},{"id":"RHSA-2022:0350","title":"Red Hat Security Advisory: nodejs:14 security, bug fix, and enhancement update","vulnerabilityIds":["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"]},{"id":"openSUSE-SU-2021:1574-1","title":"Security update for nodejs12","vulnerabilityIds":["CVE-2021-22959","CVE-2021-22960","CVE-2021-37701","CVE-2021-37712","CVE-2021-37713","CVE-2021-39134","CVE-2021-39135"]},{"id":"WID-SEC-W-2023-0857","title":"IBM QRadar SIEM: Mehrere Schwachstellen","vulnerabilityIds":["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"]}],"note":"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."},"key":"euvd:EUVD-2021-1849","identifiers":["EUVD-2021-1849","CVE-2021-37712","GHSA-qq89-hq3f-393p"]},"retained":false,"historicalAffected":[]},{"revision":"af500783f35d4356b334fc2bd86cb3f6","observedAt":"2026-10-24T18:17:33.371+00:00","statement":{"source":"nvd","id":"CVE-2021-37712","aliases":[],"title":"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…","description":"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.","state":0,"publishedAt":"2021-08-31T17:15:08.023+00:00","modifiedAt":"2026-06-17T04:01:02.253+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":8.2,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":8.6,"severity":"HIGH"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:L/AC:M/Au:N/C:P/I:P/A:P","score":4.4,"severity":"MEDIUM"}],"references":["https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","https://github.com/npm/node-tar/security/advisories/GHSA-qq89-hq3f-393p","https://lists.debian.org/debian-lts-announce/2022/12/msg00023.html","https://www.debian.org/security/2021/dsa-5008","https://www.npmjs.com/package/tar","https://www.oracle.com/security-alerts/cpuoct2021.html"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-37712","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-22","CWE-59"],"productCriteria":["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:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2021-08-31T17:15:08.023","lastModified":"2026-06-17T04:01:02.253"},"relatedAdvisories":[],"note":"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."},"key":"nvd:CVE-2021-37712","identifiers":["CVE-2021-37712"]},"retained":false,"historicalAffected":[]},{"revision":"5822d206d4914c8ea161cb0a75427bdc","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-qq89-hq3f-393p","aliases":["CVE-2021-37712"],"title":"Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning using symbolic links","description":"### Impact\nArbitrary File Creation, Arbitrary File Overwrite, Arbitrary Code Execution\n\nnode-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.\n\nThis 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.\n\nThe 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.\n\n### Patches\n\n6.1.9 || 5.0.10 || 4.4.18\n\n### Workarounds\n\nUsers may work around this vulnerability without upgrading by creating a custom filter method which prevents the extraction of symbolic links.\n\n```js\nconst tar = require('tar')\n\ntar.x({\n  file: 'archive.tgz',\n  filter: (file, entry) => {\n    if (entry.type === 'SymbolicLink') {\n      return false\n    } else {\n      return true\n    }\n  }\n})\n```\n\nUsers are encouraged to upgrade to the latest patched versions, rather than attempt to sanitize tar input themselves.\n\n#### Fix\n\nThe problem is addressed in the following ways, when comparing paths in the directory cache and path reservation systems:\n\n1. The `String.normalize('NFKD')` method is used to first normalize all unicode to its maximally compatible and multi-code-point form.\n2. All slashes are normalized to `/` on Windows systems (on posix systems, `\\` is a valid filename character, and thus left intact).\n3. 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.\n","state":0,"publishedAt":"2021-08-31T16:05:17+00:00","modifiedAt":"2026-07-08T06:28:24.9896289+00:00","affected":[{"ecosystem":"npm","name":"tar","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.0.0"},{"kind":"fixed","version":"4.4.18"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"tar","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.10"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"tar","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"6.0.0"},{"kind":"fixed","version":"6.1.9"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/npm/node-tar/security/advisories/GHSA-qq89-hq3f-393p","https://nvd.nist.gov/vuln/detail/CVE-2021-37712","https://github.com/isaacs/node-tar/commit/1739408d3122af897caefd09662bce2ea477533b","https://github.com/isaacs/node-tar/commit/2f1bca027286c23e110b8dfc7efc10756fa3db5a","https://github.com/isaacs/node-tar/commit/3aaf19b2501bbddb145d92b3322c80dcaed3c35f","https://github.com/isaacs/node-tar/commit/b6162c7fafe797f856564ef37f4b82747f051455","https://github.com/isaacs/node-tar/commit/bb93ba243746f705092905da1955ac3b0509ba1e","https://github.com/isaacs/node-tar/commit/d56f790bda9fea807dd80c5083f24771dbdd6eb1","https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","https://github.com/npm/node-tar","https://lists.debian.org/debian-lts-announce/2022/12/msg00023.html","https://www.debian.org/security/2021/dsa-5008","https://www.npmjs.com/package/tar","https://www.oracle.com/security-alerts/cpuoct2021.html"],"sourceUrl":"https://github.com/advisories/GHSA-qq89-hq3f-393p","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-qq89-hq3f-393p","identifiers":["GHSA-qq89-hq3f-393p","CVE-2021-37712"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-25T16:30:51.6399626+00:00","complete":true,"records":1796,"lastAttemptAt":"2026-11-25T16:30:51.6399626+00:00","lastSuccessAt":"2026-11-25T16:30:52.034918+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:52.0349214+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-8d356adab43082cb10bb7c033ed58312cf2ad2f0fb10e0afdf27fc89fa361f3b-eff9d08c8f0fa32ddca8b3faeb4fb15ed8fd3be7ad4cea54f526276594975076","complete":true,"records":432225,"lastAttemptAt":"2026-11-25T16:28:38.1682659+00:00","lastSuccessAt":"2026-11-25T16:28:38.0153955+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:28:38.1682659+00:00","snapshotPublishedAt":"2026-11-25T16:27:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-fe3c1be5a79449a09eb76cfe4a645b7c","complete":false,"records":13939,"lastAttemptAt":"2026-11-25T16:41:38.9086864+00:00","lastSuccessAt":"2026-11-25T16:41:37.884+00:00","error":"153 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T16:41:37.884+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13628,"expectedIdentifiers":13987,"failedIdentifiers":153},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-25T16:30:51.6399626+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T16:30:51.6399626+00:00","lastSuccessAt":"2026-11-25T16:30:52.035995+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:52.0359954+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-b1697be945394a11bfe4d90c22645cd8","complete":true,"records":13951,"lastAttemptAt":"2026-11-25T16:30:53.1656546+00:00","lastSuccessAt":"2026-11-25T16:30:53.16+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:53.16+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13987,"expectedIdentifiers":13987,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-70b1e3058f76fab20c77bb1c4924a4c57f7654dd208befb5b1f237e682d6ddca","complete":true,"records":10077,"lastAttemptAt":"2026-11-25T16:30:51.4950342+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.4950342+00:00","snapshotPublishedAt":"2026-11-25T11:03:15+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-6ba2352decd0c95d34a1b50f642582aa34659ce946f552488f0a5cea4e0cc09a","complete":true,"records":2020,"lastAttemptAt":"2026-11-25T16:28:38.3174258+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:28:38.3174258+00:00","snapshotPublishedAt":"2026-11-20T14:48:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5be533520b83c9bfaebc80695093f6f0d59feafc2a1eab94e91dd79d1bb9241b","complete":true,"records":3222,"lastAttemptAt":"2026-11-25T16:30:51.5978795+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.5978795+00:00","snapshotPublishedAt":"2026-11-25T11:18:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-93117e9f4237570c8330a2370f4c3e20e3306a5fa2ad4a5c945eb39d2bbbbbda","complete":true,"records":233129,"lastAttemptAt":"2026-11-25T16:30:51.3700222+00:00","lastSuccessAt":"2026-11-25T16:30:50.1279622+00:00","error":null,"lastVerifiedAt":"2026-11-25T16:30:51.3700222+00:00","snapshotPublishedAt":"2026-11-25T15:33:14+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}