CVE-2021-31155Umask Project Umask
High 7.8
Follow: this CVE · Umask Project · Umask Project Umask We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 7.8
- EPSS
- 0.4% probability of exploitation in 30 days · percentile 27
- Auth required
- Yes
- Published
- May 27, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-732
- Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Umask.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| crates.io | pleaser |
< 0.4.0 |
0.4.0 |
cargo update -p pleaser --precise 0.4.0 |
| crates.io | pleaser |
≥ 0.0.0-0 < 0.4.0 |
0.4.0 |
cargo update -p pleaser --precise 0.4.0 |
Per OSV / GitHub Advisories (GHSA-vc5p-j8vw-mc6x, RUSTSEC-2021-0101). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| umask_project | umask | < 0.4 |
Official sources
References
Links published by the sources. Open them with care.
- gitlab.com Third Party Advisory
- www.openwall.com Exploit Mailing List Third Party Advisory