Mafintosh tar-fs
tar-fs has issue where extract can write outside the specified dir with a specific tarball
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.7high · scored by CNA · CWE-22
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
mafintosh tar-fs
- < 1.16.5
- >= 2.0.0, < 2.1.3
- >= 3.0.0, < 3.0.9
Fixed in 1.16.5, 2.1.3, 3.0.9
Mitigation
Upgrade tar-fs to 1.16.5 or 2.1.3 or 3.0.9 or later.
References
- Vendor advisory github.com/mafintosh/tar-fs/security/advisorie…
- Vendor advisory github.com/google/security-research/security/a…
- Patch github.com/mafintosh/tar-fs/commit/647447b572b…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.