tar-fs vulnerabilities
Published: Tue, 02 Jun 2026 13:00
Summary
Several security issues were fixed in tar-fs.
Details
It was discovered that tar-fs did not properly limit paths when extracting crafted tar files. An attacker could possibly use this issue to write or overwrite files outside the intended extraction directory. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2024-12905) It was discovered that tar-fs did not properly validate extraction paths for certain crafted tar archives. An attacker could possibly use this issue to write files outside the intended extraction directory. This issue only affected Ubuntu 22.04 LTS and Ubuntu 24.04 LTS. (CVE-2025-48387) It was discovered that tar-fs had a symlink validation bypass when extracting crafted tar files. An attacker could possibly use this issue to write files outside the intended extraction directory. (CVE-2025-59343)
Recommended actions per Ubuntu release
StackPatch playbook auto-generated per release codename and per affected package.
Ubuntu jammy
node-tar-fs→2.1.1-6ubuntu0.22.04.1~esm1apt_upgrade_esmFixed at 2.1.1-6ubuntu0.22.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y node-tar-fs=2.1.1-6ubuntu0.22.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
node-tar-fs→2.1.1-6ubuntu0.22.04.1~esm1apt_upgrade_esmFixed at 2.1.1-6ubuntu0.22.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y node-tar-fs=2.1.1-6ubuntu0.22.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu noble
node-tar-fs→2.1.1-6ubuntu0.24.04.1~esm1apt_upgrade_esmFixed at 2.1.1-6ubuntu0.24.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y node-tar-fs=2.1.1-6ubuntu0.24.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
node-tar-fs→2.1.1-6ubuntu0.24.04.1~esm1apt_upgrade_esmFixed at 2.1.1-6ubuntu0.24.04.1~esm1 — ESM-only. Enable Ubuntu Pro (free for 5 personal machines) or treat as watch item.
sudo pro attach <token> sudo apt-get update sudo apt-get install --only-upgrade -y node-tar-fs=2.1.1-6ubuntu0.24.04.1~esm1
Sign up at https://ubuntu.com/pro. Free for personal + small-team use.
Ubuntu questing
node-tar-fs→3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1apt_upgradeStandard apt upgrade. Install 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y node-tar-fs
Most apt upgrades restart their service automatically. needrestart lists anything else.
node-tar-fs→3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1apt_upgradeStandard apt upgrade. Install 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1 from the apt repo.
sudo apt-get update sudo apt-get install --only-upgrade -y node-tar-fs
Most apt upgrades restart their service automatically. needrestart lists anything else.
Are YOU affected by USN-8367-1?
5-second check on your actual server. Reads /etc/os-release, uname -r, and dpkg-query; matches against the live USN + Debian Security Tracker feeds; tells you whether USN-8367-1 (and any other live CVE) applies. Anonymous, no signup.
curl https://mindsparkstack.com/scan.sh | bash
StackPatch runs this match against YOUR installed packages every hour
Free 1-server / $99 lifetime founder seat (50 only) / $19+/mo monthly. Indie pricing.