ADVISORIES

Ubuntu Security Notice

USN-8367-1

node-tar-fs vulnerabilities

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)

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:22.04:LTSnode-tar-fs
All versions before 2.1.1-6ubuntu0.22.04.1~esm1 (fixed in 2.1.1-6ubuntu0.22.04.1~esm1)
Ubuntu:Pro:24.04:LTSnode-tar-fs
All versions before 2.1.1-6ubuntu0.24.04.1~esm1 (fixed in 2.1.1-6ubuntu0.24.04.1~esm1)
Ubuntu:25.10node-tar-fs
All versions before 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1 (fixed in 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1)

References