CVE-2021-31155
Permissions bypass in pleaser
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
NVD Score used
7.8
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.
- Record
CVE-2021-31155- 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 - CVSS 2.0
- 7.2 High
AV:L/AC:L/Au:N/C:C/I:C/A:C - Weakness
- CWE-732
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2021-31155- Updated
- 2026-11-02
EUVDEUVD-2021-1889 No score
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.
- Record
EUVD-2021-1889- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-vc5p-j8vw-mc6x
7.8
Permissions bypass in pleaser
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.
- Record
GHSA-vc5p-j8vw-mc6x- 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 - Weakness
- CWE-269, CWE-279
- Updated
- 2026-11-02
OSV
7.8
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.
- Record
CVE-2021-31155- 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 - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-31155
7.8
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.
- Record
DEBIAN-CVE-2021-31155- 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 - Updated
- 2026-11-02
OSVGHSA-vc5p-j8vw-mc6x
7.8
Permissions bypass in pleaser
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.
- Record
GHSA-vc5p-j8vw-mc6x- 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 - Weakness
- CWE-269, CWE-279
- Updated
- 2026-11-02
OSVRUSTSEC-2021-0101
7.8
Permissions bypass in pleaser
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.
- Record
RUSTSEC-2021-0101- 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 - Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
pleasercrates.io |
before 0.4.0 | 0.4.0 |
rust-pleaserDebian:12 |
before 0.4.1-1 | 0.4.1-1 |
rust-pleaserDebian:13 |
before 0.4.1-1 | 0.4.1-1 |
rust-pleaserDebian:14 |
before 0.4.1-1 | 0.4.1-1 |
pleasercrates.io |
0.0.0-0 up to 0.4.0 | 0.4.0 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-31155 is a high vulnerability (CVSS 7.8) in Umask Project Umask, published May 27, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.41%, the 35th percentile. Fixed in pleaser 0.4.0.
References
gitlab.com/edneville/please/-/tree/master/src/bin
openwall.com/lists/oss-security/2021/05/18/1
nvd.nist.gov/vuln/detail/CVE-2021-31155
crates.io/crates/pleaser
gitlab.com/edneville/please
rustsec.org/advisories/RUSTSEC-2021-0101.html
github.com/advisories/GHSA-vc5p-j8vw-mc6x
security-tracker.debian.org/tracker/CVE-2021-31155