{"id":"EUVD-2021-1548","revision":"dff9c03f52c14cdc9d2effa380f05889","records":[{"revision":"dff9c03f52c14cdc9d2effa380f05889","observedAt":"2026-10-30T18:50:02.683+00:00","statement":{"source":"euvd","id":"EUVD-2021-1548","aliases":["CVE-2021-32804","GHSA-3jfq-g458-7qm9"],"title":"The npm package \"tar\" (aka node-tar) before versions 6.1.1, 5.0.6, 4.4.14, and 3.3.2 has a arbitrary File Creation/Overwrite vulnerability due to insufficient absolute path sanitization. node-tar aims to prevent extraction of absolute file …","description":"The npm package \"tar\" (aka node-tar) before versions 6.1.1, 5.0.6, 4.4.14, and 3.3.2 has a arbitrary File Creation/Overwrite vulnerability due to insufficient absolute path sanitization. node-tar aims to prevent extraction of absolute file paths by turning absolute paths into relative paths when the `preservePaths` flag is not set to `true`. This is achieved by stripping the absolute path root from any absolute file paths contained in a tar file. For example `/home/user/.bashrc` would turn into `home/user/.bashrc`. This logic was insufficient when file paths contained repeated path roots such as `////home/user/.bashrc`. `node-tar` would only strip a single path root from such paths. When given an absolute file path with repeating path roots, the resulting path (e.g. `///home/user/.bashrc`) would still resolve to an absolute path, thus allowing arbitrary file creation and overwrite. This issue was addressed in releases 3.2.2, 4.4.14, 5.0.6 and 6.1.1. Users may work around this vulnerability without upgrading by creating a custom `onentry` method which sanitizes the `entry.path` or a `filter` method which removes entries with absolute paths. See referenced GitHub Advisory for details. Be aware of CVE-2021-32803 which fixes a similar bug in later versions of tar.","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-3jfq-g458-7qm9","https://github.com/npm/node-tar/commit/1f036ca23f64a547bdd6c79c1a44bc62e8115da4","https://www.npmjs.com/advisories/1770","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-1548","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 3, 2021, 7:10:12 PM","dateUpdated":"Aug 3, 2024, 11:33:56 PM"},"relatedAdvisories":[{"id":"msrc_CVE-2021-32804","title":"Arbitrary File Creation/Overwrite due to insufficient absolute path sanitization","vulnerabilityIds":["CVE-2021-32804"]},{"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:0657-1","title":"Security update for nodejs12","vulnerabilityIds":["CVE-2021-23343","CVE-2021-32803","CVE-2021-32804","CVE-2021-3807","CVE-2021-3918"]},{"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: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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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":"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: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":"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":"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":"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":"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-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":"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":"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":"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:0563-1","title":"Security update for nodejs8","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-1548","identifiers":["EUVD-2021-1548","CVE-2021-32804","GHSA-3jfq-g458-7qm9"]},"retained":false,"historicalAffected":[]}],"coverage":[]}