7.8high
Permissions bypass in pleaser
- Severity
- 7.8high CVSS:3.1 by NVD
- Exploit likelihood
- 0.41% (higher than 37% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-vc5p-j8vw-mc6xRUSTSEC-2021-0101
Description
Failure to normalize the umask in please before 0.4 allows a local attacker to gain full root privileges if they are allowed to execute at least one command.
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 |
| umask_project umask | 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
Failure to normalize the umask in please before 0.4 allows a local attacker to gain full root privileges if they are allowed to execute at least one command.
GitHub Advisory Database
Failure to normalize the umask in pleaser before 0.4.0 allows a local attacker to gain full root privileges if they are allowed to execute at least one command.
RustSec Advisory Database
Failure to normalize the umask in pleaser before 0.4 allows a local attacker to gain full root privileges if they are allowed to execute at least one command.
NVD (es)
Un fallo para normalizar umask en please versiones anteriores a 0.4, permite a un atacante local alcanzar privilegios de root completos si le tienen permitido ejecutar al menos un comando
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-31155 | advisory, web | |
| https://crates.io/crates/pleaser | package, web | |
| https://gitlab.com/edneville/please | web | |
| https://rustsec.org/advisories/RUSTSEC-2021-0101.html | advisory, web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-31155 changed 2024-08-03 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vc5p-j8vw-mc6x changed 2023-11-08 | CC-BY-4.0 |
| RustSec Advisory Database | RUSTSEC-2021-0101 changed 2023-11-08 | CC0-1.0 |
| NVD | CVE-2021-31155 changed 2026-06-17 | Public domain |