{"id":"GHSA-r628-mhmh-qjhw","revision":null,"records":[{"revision":"9c61a65ab3f441af989b43536a029d20","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2021-32803","aliases":[],"title":"Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning","description":"The npm package \"tar\" (aka node-tar) before versions 6.1.2, 5.0.7, 4.4.15, and 3.2.3 has an arbitrary File Creation/Overwrite vulnerability via insufficient symlink protection. `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 the same name as the directory. This order of operations resulted in the directory being created and added to the `node-tar` directory cache. When a directory is present in the directory cache, subsequent calls to mkdir for that directory are skipped. However, this is also where `node-tar` checks for symlinks occur. By first creating a directory, and then replacing that directory with a symlink, 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. This issue was addressed in releases 3.2.3, 4.4.15, 5.0.7 and 6.1.2.","state":0,"publishedAt":"2021-08-03T19:05:12+00:00","modifiedAt":"2024-08-03T23:33:56.082+00:00","affected":[{"ecosystem":"Vendor product","name":"node-tar","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"product\": \"node-tar\",\n                    \"vendor\": \"npm\",\n                    \"versions\": [\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \"< 3.2.3\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \">= 4.0.0, < 4.4.15\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \">= 5.0.0, < 5.0.7\"\n                        },\n                        {\n                            \"status\": \"affected\",\n                            \"version\": \">= 6.0.0, < 6.1.2\"\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://github.com/npm/node-tar/security/advisories/GHSA-r628-mhmh-qjhw","https://github.com/npm/node-tar/commit/9dbdeb6df8e9dbd96fa9e84341b9d74734be6c20","https://www.npmjs.com/advisories/1771","https://www.npmjs.com/package/tar","https://www.oracle.com/security-alerts/cpuoct2021.html","https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2021-32803","license":"CVE Program Terms of Use","key":"cve-program:CVE-2021-32803","identifiers":["CVE-2021-32803"]},"retained":false,"historicalAffected":[]},{"revision":"6a3f8aa2c8df4d0c89ad74716a426c9a","observedAt":"2026-11-24T08:35:29.535+00:00","statement":{"source":"euvd","id":"EUVD-2021-1856","aliases":["CVE-2021-32803","GHSA-r628-mhmh-qjhw"],"title":"The npm package \"tar\" (aka node-tar) before versions 6.1.2, 5.0.7, 4.4.15, and 3.2.3 has an arbitrary File Creation/Overwrite vulnerability via insufficient symlink protection. `node-tar` aims to guarantee that any file whose location would…","description":"The npm package \"tar\" (aka node-tar) before versions 6.1.2, 5.0.7, 4.4.15, and 3.2.3 has an arbitrary File Creation/Overwrite vulnerability via insufficient symlink protection. `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 the same name as the directory. This order of operations resulted in the directory being created and added to the `node-tar` directory cache. When a directory is present in the directory cache, subsequent calls to mkdir for that directory are skipped. However, this is also where `node-tar` checks for symlinks occur. By first creating a directory, and then replacing that directory with a symlink, 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. This issue was addressed in releases 3.2.3, 4.4.15, 5.0.7 and 6.1.2.","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://github.com/npm/node-tar/security/advisories/GHSA-r628-mhmh-qjhw","https://github.com/npm/node-tar/commit/9dbdeb6df8e9dbd96fa9e84341b9d74734be6c20","https://www.npmjs.com/advisories/1771","https://www.npmjs.com/package/tar","https://www.oracle.com/security-alerts/cpuoct2021.html","https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-1856","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 3, 2021, 7:05:12 PM","dateUpdated":"Aug 3, 2024, 11:33:56 PM"},"relatedAdvisories":[{"id":"RHSA-2021:3280","title":"Red Hat Security Advisory: rh-nodejs14-nodejs and rh-nodejs14-nodejs-nodemon security update","vulnerabilityIds":["CVE-2020-7788","CVE-2020-28469","CVE-2021-3672","CVE-2021-22930","CVE-2021-22931","CVE-2021-22939","CVE-2021-22940","CVE-2021-23343","CVE-2021-32803","CVE-2021-32804"]},{"id":"SUSE-SU-2022:0570-1","title":"Security update for nodejs10","vulnerabilityIds":["CVE-2021-23343","CVE-2021-32803","CVE-2021-32804","CVE-2021-3807","CVE-2021-3918","CVE-2022-21824"]},{"id":"msrc_CVE-2021-32803","title":"Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning","vulnerabilityIds":["CVE-2021-32803"]},{"id":"RHSA-2021:4618","title":"Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.4 images and security updates","vulnerabilityIds":["CVE-2021-3711","CVE-2021-3712","CVE-2021-3749","CVE-2021-23017","CVE-2021-32626","CVE-2021-32627","CVE-2021-32628","CVE-2021-32672","CVE-2021-32675","CVE-2021-32687","CVE-2021-32690","CVE-2021-32803","CVE-2021-32804","CVE-2021-33623","CVE-2021-41099"]},{"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":"SUSE-SU-2022:0704-1","title":"Security update for nodejs8","vulnerabilityIds":["CVE-2021-23343","CVE-2021-32803","CVE-2021-32804","CVE-2021-3807","CVE-2021-3918"]},{"id":"SUSE-SU-2022:0715-1","title":"Security update for nodejs14","vulnerabilityIds":["CVE-2021-23343","CVE-2021-32803","CVE-2021-32804","CVE-2021-3807","CVE-2021-3918"]},{"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":"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"]},{"id":"SUSE-SU-2022:0563-1","title":"Security update for nodejs8","vulnerabilityIds":["CVE-2021-23343","CVE-2021-32803","CVE-2021-32804","CVE-2021-3807","CVE-2021-3918"]},{"id":"RHSA-2021:3623","title":"Red Hat Security Advisory: nodejs:12 security and bug fix update","vulnerabilityIds":["CVE-2021-3672","CVE-2021-22930","CVE-2021-22931","CVE-2021-22939","CVE-2021-22940","CVE-2021-23343","CVE-2021-32803","CVE-2021-32804"]},{"id":"SUSE-SU-2022:0569-1","title":"Security update for nodejs14","vulnerabilityIds":["CVE-2021-23343","CVE-2021-32803","CVE-2021-32804","CVE-2021-3807","CVE-2021-3918"]},{"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":"SUSE-SU-2022:1717-1","title":"Security update for nodejs10","vulnerabilityIds":["CVE-2021-23343","CVE-2021-32803","CVE-2021-32804","CVE-2021-3807","CVE-2021-3918","CVE-2021-44906","CVE-2021-44907","CVE-2022-0235","CVE-2022-21824"]},{"id":"SUSE-SU-2022:0531-1","title":"Security update for nodejs12","vulnerabilityIds":["CVE-2021-23343","CVE-2021-32803","CVE-2021-32804","CVE-2021-3807","CVE-2021-3918"]},{"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":"openSUSE-SU-2022:0657-1","title":"Security update for nodejs12","vulnerabilityIds":["CVE-2021-23343","CVE-2021-32803","CVE-2021-32804","CVE-2021-3807","CVE-2021-3918"]},{"id":"RHSA-2021:3281","title":"Red Hat Security Advisory: rh-nodejs12-nodejs and rh-nodejs12-nodejs-nodemon security update","vulnerabilityIds":["CVE-2020-7788","CVE-2020-28469","CVE-2021-3672","CVE-2021-22930","CVE-2021-22931","CVE-2021-22939","CVE-2021-22940","CVE-2021-23343","CVE-2021-32803","CVE-2021-32804"]},{"id":"openSUSE-SU-2022:0704-1","title":"Security update for nodejs8","vulnerabilityIds":["CVE-2021-23343","CVE-2021-32803","CVE-2021-32804","CVE-2021-3807","CVE-2021-3918"]},{"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-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-2021:3638","title":"Red Hat Security Advisory: nodejs:12 security and bug fix update","vulnerabilityIds":["CVE-2021-3672","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"]},{"id":"RHSA-2021:3666","title":"Red Hat Security Advisory: nodejs:14 security and bug fix update","vulnerabilityIds":["CVE-2021-3672","CVE-2021-22930","CVE-2021-22931","CVE-2021-22939","CVE-2021-22940","CVE-2021-23343","CVE-2021-32803","CVE-2021-32804"]},{"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-2022:0715-1","title":"Security update for nodejs14","vulnerabilityIds":["CVE-2021-23343","CVE-2021-32803","CVE-2021-32804","CVE-2021-3807","CVE-2021-3918"]},{"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":"RHSA-2021:3639","title":"Red Hat Security Advisory: nodejs:12 security and bug fix update","vulnerabilityIds":["CVE-2021-3672","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"]},{"id":"SUSE-SU-2022:0657-1","title":"Security update for nodejs12","vulnerabilityIds":["CVE-2021-23343","CVE-2021-32803","CVE-2021-32804","CVE-2021-3807","CVE-2021-3918"]}],"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-1856","identifiers":["EUVD-2021-1856","CVE-2021-32803","GHSA-r628-mhmh-qjhw"]},"retained":false,"historicalAffected":[]},{"revision":"af67e28ad8eb48c78632323b4065ba7f","observedAt":"2026-10-24T18:17:28.628+00:00","statement":{"source":"nvd","id":"CVE-2021-32803","aliases":[],"title":"The npm package \"tar\" (aka node-tar) before versions 6.1.2, 5.0.7, 4.4.15, and 3.2.3 has an arbitrary File Creation/Overwrite vulnerability via insufficient symlink protection. `node-tar` aims to guarantee that any file whose location would…","description":"The npm package \"tar\" (aka node-tar) before versions 6.1.2, 5.0.7, 4.4.15, and 3.2.3 has an arbitrary File Creation/Overwrite vulnerability via insufficient symlink protection. `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 the same name as the directory. This order of operations resulted in the directory being created and added to the `node-tar` directory cache. When a directory is present in the directory cache, subsequent calls to mkdir for that directory are skipped. However, this is also where `node-tar` checks for symlinks occur. By first creating a directory, and then replacing that directory with a symlink, 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. This issue was addressed in releases 3.2.3, 4.4.15, 5.0.7 and 6.1.2.","state":0,"publishedAt":"2021-08-03T19:15:08.297+00:00","modifiedAt":"2026-06-17T03:53:39.603+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:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:H","score":8.1,"severity":"HIGH"},{"system":"CVSS 2.0 · nvd@nist.gov · Primary","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:P","score":5.8,"severity":"MEDIUM"}],"references":["https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","https://github.com/npm/node-tar/commit/9dbdeb6df8e9dbd96fa9e84341b9d74734be6c20","https://github.com/npm/node-tar/security/advisories/GHSA-r628-mhmh-qjhw","https://www.npmjs.com/advisories/1771","https://www.npmjs.com/package/tar","https://www.oracle.com/security-alerts/cpuoct2021.html"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2021-32803","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-22","CWE-59"],"productCriteria":["cpe:2.3:a:tar_project:tar:*:*:*:*:*:node.js:*:*","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-03T19:15:08.297","lastModified":"2026-06-17T03:53:39.603"},"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-32803","identifiers":["CVE-2021-32803"]},"retained":false,"historicalAffected":[]},{"revision":"840ea54f33924b77ba4710d74a51baf0","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-r628-mhmh-qjhw","aliases":["CVE-2021-32803"],"title":"Arbitrary File Creation/Overwrite via insufficient symlink protection due to directory cache poisoning","description":"### Impact\n\nArbitrary File Creation, Arbitrary File Overwrite, Arbitrary Code Execution\n\n`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.\n\nThis logic was insufficient when extracting tar files that contained both a directory and a symlink with the same name as the directory. This order of operations resulted in the directory being created and added to the `node-tar` directory cache. When a directory is present in the directory cache, subsequent calls to mkdir for that directory are skipped. However, this is also where `node-tar` checks for symlinks occur.\n\nBy first creating a directory, and then replacing that directory with a symlink, 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.\n\nThis issue was addressed in releases 3.2.3, 4.4.15, 5.0.7 and 6.1.2.\n\n### Patches\n\n3.2.3 || 4.4.15 || 5.0.7 || 6.1.2\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 patch versions, rather than attempt to sanitize tar input themselves.","state":0,"publishedAt":"2021-08-03T19:00:40+00:00","modifiedAt":"2026-07-08T06:27:29.4579537+00:00","affected":[{"ecosystem":"npm","name":"tar","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"3.0.0"},{"kind":"fixed","version":"3.2.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"tar","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.0.0"},{"kind":"fixed","version":"4.4.15"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"tar","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"5.0.0"},{"kind":"fixed","version":"5.0.7"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"tar","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"6.0.0"},{"kind":"fixed","version":"6.1.2"}]}],"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-r628-mhmh-qjhw","https://nvd.nist.gov/vuln/detail/CVE-2021-32803","https://github.com/isaacs/node-tar/commit/46fe35083e2676e31c4e0a81639dce6da7aaa356","https://github.com/isaacs/node-tar/commit/5987d9a41f6bfbf1ddab1098e1fdcf1a5618f571","https://github.com/isaacs/node-tar/commit/85d3a942b4064e4ff171f91696fced7975167349","https://github.com/isaacs/node-tar/commit/9dbdeb6df8e9dbd96fa9e84341b9d74734be6c20","https://github.com/npm/node-tar/commit/9dbdeb6df8e9dbd96fa9e84341b9d74734be6c20","https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","https://github.com/isaacs/node-tar","https://www.npmjs.com/advisories/1771","https://www.npmjs.com/package/tar","https://www.oracle.com/security-alerts/cpuoct2021.html"],"sourceUrl":"https://github.com/advisories/GHSA-r628-mhmh-qjhw","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-r628-mhmh-qjhw","identifiers":["GHSA-r628-mhmh-qjhw","CVE-2021-32803"]},"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-25T15:30:40.6081624+00:00","complete":true,"records":1796,"lastAttemptAt":"2026-11-25T15:30:40.6081624+00:00","lastSuccessAt":"2026-11-25T15:30:40.8059403+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.8059408+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-c8a5bbe81e5c97f1ef0204d9f424811c3ab0e015216b17be9cd9061ec365cc09","complete":true,"records":432153,"lastAttemptAt":"2026-11-25T15:28:37.3830721+00:00","lastSuccessAt":"2026-11-25T15:28:37.2582332+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:28:37.3830721+00:00","snapshotPublishedAt":"2026-11-25T14:30:07+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-5922d9804a9248789f8c2f7e9396c714","complete":false,"records":13938,"lastAttemptAt":"2026-11-25T15:41:09.4114251+00:00","lastSuccessAt":"2026-11-25T15:41:09.407+00:00","error":"129 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-25T15:41:09.407+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13600,"expectedIdentifiers":13986,"failedIdentifiers":129},{"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-25T15:30:40.6081624+00:00","complete":true,"records":1131,"lastAttemptAt":"2026-11-25T15:30:40.6081624+00:00","lastSuccessAt":"2026-11-25T15:30:40.8067671+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.8067672+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-91a1844a9c234a33bf5df077b2f01fa3","complete":true,"records":13950,"lastAttemptAt":"2026-11-25T15:30:41.8818771+00:00","lastSuccessAt":"2026-11-25T15:30:41.877+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:41.877+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13986,"expectedIdentifiers":13986,"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-25T15:30:40.4787181+00:00","lastSuccessAt":"2026-11-25T11:46:59.5507764+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.4787181+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-25T15:28:37.4627555+00:00","lastSuccessAt":"2026-11-20T15:46:15.4249619+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:28:37.4627555+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-25T15:30:40.5768219+00:00","lastSuccessAt":"2026-11-25T11:47:03.6026853+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.5768219+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-5747fce78879ab80d0039caa02f9d28c583bbc680a45e25fa53cb124697761ff","complete":true,"records":233128,"lastAttemptAt":"2026-11-25T15:30:40.354568+00:00","lastSuccessAt":"2026-11-25T15:30:39.1946895+00:00","error":null,"lastVerifiedAt":"2026-11-25T15:30:40.354568+00:00","snapshotPublishedAt":"2026-11-25T15:03:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}