Advisory

USN-8367-1

Also known as: CVE-2024-12905, CVE-2025-48387, CVE-2025-59343

Summary

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)

Severity

Not rated by the source.

Dates

Published
2026-06-02 13:00 UTC
Modified
2026-06-02 18:33 UTC

Affected packages and fixes

node-tar-fs

Debian packages (deb) · Ubuntu 25.10

Affected

  • introduced 0, fixed 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1 (ecosystem)

Fixed versions

3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1

Fix

  • Fixed version 3.0.9+~cs2.0.4-1+deb13u1build0.25.10.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences