Skip to content
OpenAdvisories
High · 7.5 CVE-2018-20990 EUVD-2021-1502GHSA-2367-c296-3mp2RUSTSEC-2018-0002

Arbitrary file overwrite in tar-rs

Published Aug 26, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

An issue was discovered in the tar crate before 0.4.16 for Rust. Arbitrary file overwrite can occur via a symlink or hardlink in a TAR archive.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 rust-tar No fix yet —
Ubuntu 26.04 LTS rust-tar No fix yet —
Ubuntu 25.10 rust-tar No fix yet —
Ubuntu 24.04 LTS rust-tar No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS rust-tar No fix yet —
Ubuntu Pro 20.04 LTS rust-tar No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io tar < 0.4.16 0.4.16 GHSA-2367-c296-3mp2
crates.io tar >= 0.0.0-0, < 0.4.16 0.4.16 RUSTSEC-2018-0002

References