Skip to content
OpenAdvisories
High · 7.8 CVE-2021-31154 EUVD-2021-1822GHSA-pp74-39w2-v4w9RUSTSEC-2021-0102

Permissions bypass in pleaser

Published May 27, 2021 · Updated Aug 3, 2024 · Assigned by mitre

Description

pleaseedit in please before 0.4 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.

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
Debian 14 rust-pleaser 0.4.1-1 —
Debian 13 rust-pleaser 0.4.1-1 —
Debian 12 rust-pleaser 0.4.1-1 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io pleaser < 0.4.0 0.4.0 GHSA-pp74-39w2-v4w9
crates.io pleaser >= 0.0.0-0, < 0.4.0 0.4.0 RUSTSEC-2021-0102

References