tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.0.9, 2.1.3, and 1.16.5 have an issue where an extract can write outside the specified dir with a specific tarball. This has been patched in versions 3.0.9, 2.1.3, and 1.16.5. As a workaround, use the ignore option to ignore non files/directories.
| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| tar-fs(npm) | 0 | 1.16.5 | N/A |
| tar-fs(npm) | 2.0.0 | 2.1.3 | N/A |
| tar-fs(npm) | 3.0.0 | 3.0.9 | N/A |
CVSS Metrics