7.8high
Permissions bypass in pleaser
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.47% (higher than 42% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-pp74-39w2-v4w9RUSTSEC-2021-0102
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| pleaser (crates.io) | before 0.4.0, from 0.0.0-0 before 0.4.0 | GitHub Advisory Database, RustSec Advisory Database |
| pleaseedit_project pleaseedit | before 0.4 | NVD |
All scores
| GitHub | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| RustSec Advisory Database | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.2high CVSS:2.0 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
Classification
What each source says
CVE List
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.
GitHub Advisory Database
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.
RustSec Advisory Database
pleaseedit in pleaser 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.
NVD (es)
pleaseedit in please versiones anteriores a 0.4, utiliza nombres de archivo temporales predecibles en /tmp y el directorio de destino. Esto permite a un atacante local alcanzar privilegios de root completos al poner en escena un ataque symlink
References
| https://gitlab.com/edneville/please/-/tree/master/src/bin | third-party-advisory, web | |
| https://www.openwall.com/lists/oss-security/2021/05/18/1 | exploit, mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-31154 | advisory, web | |
| https://crates.io/crates/pleaser | package, web | |
| https://gitlab.com/edneville/please | web | |
| https://rustsec.org/advisories/RUSTSEC-2021-0102.html | advisory, web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-31154 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-pp74-39w2-v4w9 changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2021-0102 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2021-31154 changed 2026-06-17 | Public domain |