CVE-2021-31155: Permissions bypass in pleaser
7.8
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.0869%
CWE
Published
8/25/2021
Updated
4/3/2023
KEV Status
No
Technology
Rust
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
pleaser | rust | < 0.4.0 | 0.4.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper umask handling during directory creation. The main function (or its direct dependencies) would appear in stack traces when creating the token directory. While exact function names aren't visible in provided materials, the entrypoint (main) and filesystem API calls would be prominent in profiling. The Openwall analysis explicitly identifies the create_dir_all call path as the vulnerable codepath lacking umask sanitization.