{"id":"CVE-2021-31155","aliases":["CVE-2021-31155","GHSA-vc5p-j8vw-mc6x","RUSTSEC-2021-0101"],"related":[],"kind":"vulnerability","state":"published","title":"Permissions bypass in pleaser","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"rustsec"},{"lang":"es","text":"Un fallo para normalizar umask en please versiones anteriores a 0.4, permite a un atacante local alcanzar privilegios de root completos si le tienen permitido ejecutar al menos un comando","source":"nvd"}],"published":"2021-05-27T12:00:00.000Z","modified":"2026-06-17T03:51:20.920Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"RustSec Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","score":7.2,"rating":"HIGH"}],"cwes":["CWE-269","CWE-279","CWE-732"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.4.0"}],"ecosystem":"crates.io","package":"pleaser","purl":"pkg:cargo/pleaser","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0.0.0-0","status":"affected","fixed":"0.4.0"}],"ecosystem":"crates.io","package":"pleaser","purl":"pkg:cargo/pleaser","source":"rustsec"},{"ranges":[{"status":"affected","fixed":"0.4"}],"vendor":"umask_project","product":"umask","cpe":"cpe:2.3:a:umask_project:umask:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://gitlab.com/edneville/please/-/tree/master/src/bin","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.openwall.com/lists/oss-security/2021/05/18/1","tags":["exploit","mailing-list","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31155","tags":["advisory","web"],"sources":["ghsa","rustsec"]},{"url":"https://crates.io/crates/pleaser","tags":["package","web"],"sources":["ghsa","rustsec"]},{"url":"https://gitlab.com/edneville/please","tags":["web"],"sources":["ghsa"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0101.html","tags":["advisory","web"],"sources":["ghsa","rustsec"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-31155","url":"https://www.cve.org/CVERecord?id=CVE-2021-31155","licence":"CVE Terms of Use","modified":"2024-08-03T22:48:14.297Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-vc5p-j8vw-mc6x","url":"https://github.com/advisories/GHSA-vc5p-j8vw-mc6x","licence":"CC-BY-4.0","modified":"2023-11-08T04:05:47.132Z"},{"source":"rustsec","name":"RustSec Advisory Database","id":"RUSTSEC-2021-0101","url":"https://rustsec.org/advisories/RUSTSEC-2021-0101.html","licence":"CC0-1.0","modified":"2023-11-08T04:05:47.132Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-31155","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31155","licence":"Public domain","modified":"2026-06-17T03:51:20.920Z"}],"updatedAt":"2026-11-25T22:58:01.569Z","epss":{"score":0.00408,"percentile":0.37145,"date":"2026-12-01T12:00:22.000Z"}}