Description
tar-fs provides filesystem bindings for tar-stream. Versions prior to 3.1.1, 2.1.3, and 1.16.5 are vulnerable to symlink validation bypass if the destination directory is predictable with a specific tarball. This issue has been patched in version 3.1.1, 2.1.4, and 1.16.6. A workaround involves using the ignore option on non files/directories.
Problem types
CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
CWE-61: UNIX Symbolic Link (Symlink) Following
Product status
>= 2.0.0, < 2.1.3
< 1.16.5
References
github.com/...tar-fs/security/advisories/GHSA-vj76-c3g6-qr5v
github.com/...ommit/0bd54cdf06da2b7b5b95cd4b062c9f4e0a8c4e09