CVE catalog

CVE-2021-38511

rust-tar: CVE-2021-38511

[CVE catalog]

Severity
High · CVSS 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published
Source
[NVD] · [CVE record]
EPSS
1.39% · Oct 25, 2026

An issue was discovered in the tar crate before 0.4.36 for Rust. When symlinks are present in a TAR archive, extraction can create arbitrary directories via .. traversal.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianrust-tarsid0.4.46-1fixed
Debianrust-tarforky0.4.46-1fixed
Debianrust-tartrixie0.4.43-4fixed
Debianrust-tarbookworm0.4.38-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianrust-tarsourcesid0.4.37-1not yet assignedNot reported[992173]
Debianrust-tarsourceforky0.4.37-1not yet assignedNot reported[992173]
Debianrust-tarsourcetrixie0.4.37-1not yet assignedNot reported[992173]
Debianrust-tarsourcebookworm0.4.37-1not yet assignedNot reported[992173]

[Debian bug #992173]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [rust-tar]

    Details (2)
    • 0.4.38-1 · amd64 · bookworm

      Fixed · Fixed: 0.4.37-1

      dsa · rust-tar · debian · bookworm; dsa · rust-tar · debian · 12

    • 0.4.38-1 · arm64 · bookworm

      Fixed · Fixed: 0.4.37-1

      dsa · rust-tar · debian · bookworm; dsa · rust-tar · debian · 12

[Debian 13 (Trixie)]

  • Source package: [rust-tar]

    Details (2)
    • 0.4.43-4 · amd64 · trixie

      Fixed · Fixed: 0.4.37-1

      dsa · rust-tar · debian · 13

    • 0.4.43-4 · arm64 · trixie

      Fixed · Fixed: 0.4.37-1

      dsa · rust-tar · debian · 13

Observed:

References