CVE-2021-31155
HIGHCVSS 7.8/10EPSS 0.41%
Last modified
CVE-2021-31155 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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.. EPSS estimates a 0.41% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Umask Project | Umask | < 0.4 |
References
- https://gitlab.com/edneville/please/-/tree/master/src/binThird Party Advisory
- https://www.openwall.com/lists/oss-security/2021/05/18/1Exploit, Mailing List, Third Party Advisory
- https://gitlab.com/edneville/please/-/tree/master/src/binThird Party Advisory
- https://www.openwall.com/lists/oss-security/2021/05/18/1Exploit, Mailing List, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-31155?
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.
How severe is CVE-2021-31155?
CVE-2021-31155 has a CVSS score of 7.8/10 (HIGH severity). The EPSS model estimates a 0.41% probability of exploitation in the next 30 days.
How do I fix CVE-2021-31155?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-3115Go before 1.14.14 and 1.15.x before 1.15.7 on Windows is vul…7.5
- CVE-2021-31150Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-31151Rejected reason: DO NOT USE THIS CANDIDATE NUMBER. ConsultID…
- CVE-2021-31152Multilaser Router AC1200 V02.03.01.45_pt contains a cross-si…8.8
- CVE-2021-31153please before 0.4 allows a local unprivileged attacker to ga…3.3
- CVE-2021-31154pleaseedit in please before 0.4 uses predictable temporary f…7.8
- CVE-2021-31156Allied Telesis AT-S115 1.2.0 devices before 1.00.024 with Bo…7.5
- CVE-2021-31158In the Query Engine in Couchbase Server 6.5.x and 6.6.x thro…6.5
- CVE-2021-31159Zoho ManageEngine ServiceDesk Plus MSP before 10519 is vulne…5.3
- CVE-2021-3116before_upstream_connection in AuthPlugin in http/proxy/auth.…7.5
- CVE-2021-31160Zoho ManageEngine ServiceDesk Plus MSP before 10521 allows a…7.5
- CVE-2021-31162In the standard library in Rust before 1.52.0, a double free…9.8
Are you affected by CVE-2021-31155?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
