CVE-2021-31154
HIGH7.8EPSS 0.04%Permissions bypass in pleaser
Published: 8/25/2021Modified: 4/28/2026
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.
Affected packages (3)
- crates.io/pleaserfrom 0, < 0.4.0
- crates.io/pleaser>= 0.0.0-0, < 0.4.0
- Debian/rust-pleaserfrom 0, < 0.4.1-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2021-31154
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2021-31154
- WEBhttps://crates.io/crates/pleaser
- WEBhttps://gitlab.com/edneville/please
- WEBhttps://gitlab.com/edneville/please/-/tree/master/src/bin
- WEBhttps://rustsec.org/advisories/RUSTSEC-2021-0102.html
- WEBhttps://www.openwall.com/lists/oss-security/2021/05/18/1