high7.8
CVE-2021-31154
Permissions bypass in pleaser
Impact
pleaseedit in pleaser before 0.4.0 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
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | pleaser | < 0.4.0 | 0.4.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Pleaseedit Project | Pleaseedit | before 0.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gitlab.com/edneville/please/-/tree/master/src/bin
- https://www.openwall.com/lists/oss-security/2021/05/18/1
- https://github.com/advisories/GHSA-pp74-39w2-v4w9
- https://nvd.nist.gov/vuln/detail/CVE-2021-31154
- https://crates.io/crates/pleaser
- https://gitlab.com/edneville/please
- https://rustsec.org/advisories/RUSTSEC-2021-0102.html