Skip to content
OpenAdvisories
High · 7.8 CVE-2021-31155 EUVD-2021-1889GHSA-vc5p-j8vw-mc6xRUSTSEC-2021-0101

Permissions bypass in pleaser

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

Description

Failure to normalize the umask in please before 0.4 allows a local attacker to gain full root privileges if they are allowed to execute at least one command.

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-vc5p-j8vw-mc6x
crates.io pleaser >= 0.0.0-0, < 0.4.0 0.4.0 RUSTSEC-2021-0101

References