{"id":"CVE-2021-31155","aliases":["DEBIAN-CVE-2021-31155","EUVD-2021-1889","GHSA-vc5p-j8vw-mc6x","RUSTSEC-2021-0101"],"status":"published","title":"Permissions bypass in pleaser","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.","severity":{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.00408,"percentile":0.35565,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-269","CWE-279","CWE-732"],"published":"2021-05-27T12:00:00Z","modified":"2026-10-23T18:03:13Z","fixes":[{"ecosystem":"crates.io","package":"pleaser","fixed_in":["0.4.0"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"rust-pleaser","fixed_in":["0.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rust-pleaser","fixed_in":["0.4.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rust-pleaser","fixed_in":["0.4.1-1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"crates.io","package":"pleaser","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"rust-pleaser","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rust-pleaser","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rust-pleaser","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.4.1-1"}]}]},{"source":"osv","ecosystem":"crates.io","package":"pleaser","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}]},{"source":"osv","ecosystem":"crates.io","package":"pleaser","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.4.0"}]}]}],"products":[{"vendor":"umask_project","product":"umask"}],"references":[{"url":"https://gitlab.com/edneville/please/-/tree/master/src/bin","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://www.openwall.com/lists/oss-security/2021/05/18/1","tags":["x_refsource_MISC","x_transferred","Exploit","Mailing List","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31155","tags":["advisory","web"]},{"url":"https://crates.io/crates/pleaser","tags":["web","package"]},{"url":"https://gitlab.com/edneville/please","tags":["web"]},{"url":"https://rustsec.org/advisories/RUSTSEC-2021-0101.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-vc5p-j8vw-mc6x"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-31155","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2021-31155","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.","status":"published","published":"2021-05-27T12:11:42Z","modified":"2024-08-03T22:48:14.297Z","updated_at":"2026-11-02T14:33:05.665371Z"}],"euvd":[{"id":"EUVD-2021-1889","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.","status":"published","published":"2021-05-27T12:11:42Z","modified":"2024-08-03T22:48:14Z","updated_at":"2026-11-03T03:24:40.11662Z"}],"ghsa":[{"id":"GHSA-vc5p-j8vw-mc6x","title":"Permissions bypass in pleaser","description":"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.","status":"published","published":"2021-08-25T21:01:47Z","modified":"2023-04-03T19:40:39Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-269","CWE-279"],"updated_at":"2026-11-02T14:36:49.768564Z"}],"nvd":[{"id":"CVE-2021-31155","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.","status":"published","published":"2021-05-27T13:15:08.173Z","modified":"2026-06-17T03:51:20.92Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","level":"high","assessor":"primary"}],"cwes":["CWE-732"],"updated_at":"2026-11-02T14:06:53.987491Z"}],"osv":[{"id":"CVE-2021-31155","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.","status":"published","published":"2021-05-27T13:15:08.173Z","modified":"2026-03-14T10:55:37.736064Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:19.483607Z"},{"id":"DEBIAN-CVE-2021-31155","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.","status":"published","published":"2021-05-27T13:15:08.173Z","modified":"2026-10-23T18:03:13.411716939Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:34.94143Z"},{"id":"GHSA-vc5p-j8vw-mc6x","title":"Permissions bypass in pleaser","description":"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.","status":"published","published":"2021-08-25T21:01:47Z","modified":"2023-11-08T04:05:47.132608Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-269","CWE-279"],"updated_at":"2026-11-02T15:46:56.981655Z"},{"id":"RUSTSEC-2021-0101","title":"Permissions bypass in pleaser","description":"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.","status":"published","published":"2021-05-27T12:00:00Z","modified":"2023-11-08T04:05:47.132608Z","cvss":[{"version":"3.1","score":7.8,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:53:39.492624Z"}]}}
