high7.8
CVE-2021-31155
Permissions bypass in pleaser
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | pleaser | < 0.4.0 | 0.4.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Umask Project | Umask | before 0.4 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://gitlab.com/edneville/please/-/tree/master/src/bin
- https://www.openwall.com/lists/oss-security/2021/05/18/1
- https://github.com/advisories/GHSA-vc5p-j8vw-mc6x
- https://nvd.nist.gov/vuln/detail/CVE-2021-31155
- https://crates.io/crates/pleaser
- https://gitlab.com/edneville/please
- https://rustsec.org/advisories/RUSTSEC-2021-0101.html