hoch7.8
CVE-2021-31154
Permissions bypass in pleaser
Auswirkung
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.
Ein Angreifer kann die Lücke mit lokalem Zugriff auf das System ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| rust | pleaser | < 0.4.0 | 0.4.0 |
Betroffene Produkte · Pleaseedit Project
| Produkt | Betroffene Versionen |
|---|---|
| Pleaseedit | vor 0.4 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- 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