Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:deb/debian/node-tar@0.1.18-1
purl pkg:deb/debian/node-tar@0.1.18-1
Next non-vulnerable version 6.2.1+~cs7.0.8-1+deb13u1
Latest non-vulnerable version 6.2.1+~cs7.0.8-1+deb13u1
Risk 10.0
Vulnerabilities affecting this package (6)
Vulnerability Summary Fixed by
VCID-1tz4-bphw-rbd3
Aliases:
CVE-2021-37701
GHSA-9r2w-394v-53qc
Path Traversal This npm package 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.
6.0.5+ds1+~cs11.3.9-1+deb11u2
Affected by 7 other vulnerabilities.
VCID-26bv-csfg-a7fa
Aliases:
CVE-2015-8860
GHSA-gfjr-3jmm-4g9v
Symlink Arbitrary File Overwrite The `tar` module allow for archives to contain symbolic links that will overwrite targets outside the expected path for extraction.
2.2.1-1
Affected by 5 other vulnerabilities.
VCID-7mtb-yaq7-77ep
Aliases:
CVE-2021-37712
GHSA-qq89-hq3f-393p
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') The npm package "tar" (aka node-tar) 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.
6.0.5+ds1+~cs11.3.9-1+deb11u2
Affected by 7 other vulnerabilities.
VCID-a9w9-1d4p-vqau
Aliases:
CVE-2021-32804
GHSA-3jfq-g458-7qm9
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') 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.
6.0.5+ds1+~cs11.3.9-1+deb11u2
Affected by 7 other vulnerabilities.
VCID-e7n4-x8sc-3bb6
Aliases:
CVE-2021-32803
GHSA-r628-mhmh-qjhw
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') 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.
6.0.5+ds1+~cs11.3.9-1+deb11u2
Affected by 7 other vulnerabilities.
VCID-mr9t-dr17-w3ah
Aliases:
CVE-2018-20834
GHSA-j44m-qm6p-hp7m
Improper Link Resolution Before File Access ('Link Following') A vulnerability was found in node-tar before version 4.4.2 (excluding version 2.2.2). An Arbitrary File Overwrite issue exists when extracting a tarball containing a hardlink to a file that already exists on the system, in conjunction with a later plain file with the same name as the hardlink. This plain file content replaces the existing file content. A patch has been applied to node-tar v2.2.2).
4.4.6+ds1-3+deb10u1
Affected by 4 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-15T23:37:00.903697+00:00 Debian Oval Importer Affected by VCID-mr9t-dr17-w3ah https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-15T21:23:11.344318+00:00 Debian Oval Importer Affected by VCID-1tz4-bphw-rbd3 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-15T20:14:54.479963+00:00 Debian Oval Importer Affected by VCID-e7n4-x8sc-3bb6 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-15T18:10:58.649945+00:00 Debian Oval Importer Affected by VCID-26bv-csfg-a7fa https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-15T17:54:59.533938+00:00 Debian Oval Importer Affected by VCID-7mtb-yaq7-77ep https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-15T17:13:19.927391+00:00 Debian Oval Importer Affected by VCID-a9w9-1d4p-vqau https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.4.0
2026-04-11T23:11:56.955007+00:00 Debian Oval Importer Affected by VCID-mr9t-dr17-w3ah https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T21:02:39.762567+00:00 Debian Oval Importer Affected by VCID-1tz4-bphw-rbd3 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T19:56:42.988187+00:00 Debian Oval Importer Affected by VCID-e7n4-x8sc-3bb6 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T17:56:26.575486+00:00 Debian Oval Importer Affected by VCID-26bv-csfg-a7fa https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T17:40:55.547255+00:00 Debian Oval Importer Affected by VCID-7mtb-yaq7-77ep https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-11T16:59:56.285893+00:00 Debian Oval Importer Affected by VCID-a9w9-1d4p-vqau https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.3.0
2026-04-08T22:45:35.254431+00:00 Debian Oval Importer Affected by VCID-mr9t-dr17-w3ah https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-08T20:41:55.352674+00:00 Debian Oval Importer Affected by VCID-1tz4-bphw-rbd3 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-08T19:38:37.807132+00:00 Debian Oval Importer Affected by VCID-e7n4-x8sc-3bb6 https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-08T17:43:14.538784+00:00 Debian Oval Importer Affected by VCID-26bv-csfg-a7fa https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-08T17:28:14.791829+00:00 Debian Oval Importer Affected by VCID-7mtb-yaq7-77ep https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0
2026-04-08T16:49:26.571465+00:00 Debian Oval Importer Affected by VCID-a9w9-1d4p-vqau https://www.debian.org/security/oval/oval-definitions-bullseye.xml.bz2 38.1.0