Advisory

DEBIAN-CVE-2026-33056

Also known as: CVE-2026-33056

Summary

The record has no summary.

Details

tar-rs is a tar archive reading/writing library for Rust. In versions 0.4.44 and below, when unpacking a tar archive, the tar crate's unpack_dir function uses fs::metadata() to check whether a path that already exists is a directory. Because fs::metadata() follows symbolic links, a crafted tarball containing a symlink entry followed by a directory entry with the same name causes the crate to treat the symlink target as a valid existing directory — and subsequently apply chmod to it. This allows an attacker to modify the permissions of arbitrary directories outside the extraction root. This issue has been fixed in version 0.4.45.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Dates

Published
2026-03-20 08:16 UTC
Modified
2026-10-01 03:03 UTC

Affected packages and fixes

rust-tar

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

rust-tar

Debian packages (deb) · Debian 13

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

rust-tar

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 0.4.45-1 (ecosystem)

Fixed versions

0.4.45-1

Fix

  • Fixed version 0.4.45-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.

rustc

Debian packages (deb) · Debian 12

Affected

  • introduced 0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

rustc

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 1.85.1+dfsg1-1+deb13u1 (ecosystem)

Fixed versions

1.85.1+dfsg1-1+deb13u1

Fix

  • Fixed version 1.85.1+dfsg1-1+deb13u1
    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.

rustc

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 1.92.0+dfsg1-2 (ecosystem)

Fixed versions

1.92.0+dfsg1-2

Fix

  • Fixed version 1.92.0+dfsg1-2
    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: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences