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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| 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 |