# CVE-2021-31155: Permissions bypass in pleaser

- Severity: High 7.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-27T12:00:00.000Z
- Modified: 2026-06-17T03:51:20.920Z
- Also known as: GHSA-vc5p-j8vw-mc6x, RUSTSEC-2021-0101
- Weaknesses: CWE-269, CWE-279, CWE-732
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- pleaser (crates.io): before 0.4.0; from 0.0.0-0 before 0.4.0
- umask_project umask: before 0.4

## Every score

- GitHub: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- RustSec Advisory Database: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 7.2 High `AV:L/AC:L/Au:N/C:C/I:C/A:C`

## References

- <https://www.openwall.com/lists/oss-security/2021/05/18/1> (exploit, mailing-list, third-party-advisory, web)
- <https://gitlab.com/edneville/please/-/tree/master/src/bin> (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

- CVE List: [CVE-2021-31155](https://www.cve.org/CVERecord?id=CVE-2021-31155), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-vc5p-j8vw-mc6x](https://github.com/advisories/GHSA-vc5p-j8vw-mc6x), CC-BY-4.0, modified 2023-11-08
- RustSec Advisory Database: [RUSTSEC-2021-0101](https://rustsec.org/advisories/RUSTSEC-2021-0101.html), CC0-1.0, modified 2023-11-08
- NVD: [CVE-2021-31155](https://nvd.nist.gov/vuln/detail/CVE-2021-31155), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-31155 · Whole record: https://cve.day/CVE-2021-31155.json · Rebuilt by cve.day 2026-11-25T22:58:01.569Z
