CVE-2021-31155 json
Permissions bypass in pleaser
published 2021-05-27 5 y ago modified 2026-06-17 4 mo ago also GHSA-vc5p-j8vw-mc6x , RUSTSEC-2021-0101 , EUVD-2021-1889
- cvss
- 7.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 35%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- crates.io pleaser 0.4.0
- umask_project umask 0.4
- rust-pleaser Debian 14, Debian 13, Debian 12 0.4.1-1
debian advisories DEBIAN-CVE-2021-31155
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 35% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- openwall.com https://www.openwall.com/lists/oss-security/2021/05/18/1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.2 | AV:L/AC:L/Au:N/C:C/I:C/A:C |
| OSV | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| crates.io | pleaser | <0.4.0 >=0.0.0-0, <0.4.0 |
0.4.0 |
Classification
References
-
openwall.com
/lists/oss-security/2021/05/18/1
web, exploit, mailing-list, third-party-advisory
-
gitlab.com
/edneville/please/-/tree/master/src/bin
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-31155
advisory, web
-
crates.io
/crates/pleaser
web, package
-
gitlab.com
/edneville/please
web
-
rustsec.org
/advisories/RUSTSEC-2021-0101.html
web, advisory
Sources
- CVE List CVE-2021-31155
- GitHub Advisory GHSA-vc5p-j8vw-mc6x
- NVD CVE-2021-31155
- OSV RUSTSEC-2021-0101
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.