Affected versions
Version ranges need review.
Exploitation
Description
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.
Links
- https://crates.io/crates/pleaser
- https://github.com/advisories/GHSA-pp74-39w2-v4w9
- https://gitlab.com/edneville/please
- https://gitlab.com/edneville/please/-/tree/master/src/bin
- https://nvd.nist.gov/vuln/detail/CVE-2021-31154
- https://rustsec.org/advisories/RUSTSEC-2021-0102.html
- https://www.openwall.com/lists/oss-security/2021/05/18/1
Credits
- another-rex

