{"id":"CVE-2021-31154","aliases":["DEBIAN-CVE-2021-31154","EUVD-2021-1822","GHSA-pp74-39w2-v4w9","RUSTSEC-2021-0102"],"status":"published","title":"Permissions bypass in pleaser","description":"pleaseedit in please before 0.4 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.","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.00468,"percentile":0.41024,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-340","CWE-59","CWE-668"],"published":"2021-05-27T12:00:00Z","modified":"2026-10-23T18:04:49Z","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":"pleaseedit_project","product":"pleaseedit"}],"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-31154","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-0102.html","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-pp74-39w2-v4w9"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-31154","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2021-31154","description":"pleaseedit in please before 0.4 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.","status":"published","published":"2021-05-27T12:10:39Z","modified":"2024-08-03T22:48:14.354Z","updated_at":"2026-11-02T14:33:05.331617Z"}],"euvd":[{"id":"EUVD-2021-1822","description":"pleaseedit in please before 0.4 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.","status":"published","published":"2021-05-27T12:10:39Z","modified":"2024-08-03T22:48:14Z","updated_at":"2026-11-03T03:24:40.11662Z"}],"ghsa":[{"id":"GHSA-pp74-39w2-v4w9","title":"Permissions bypass in pleaser","description":"pleaseedit in pleaser before 0.4.0 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.","status":"published","published":"2021-08-25T21:01:44Z","modified":"2023-04-03T19:13:37Z","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-59","CWE-340"],"updated_at":"2026-11-02T14:36:49.768564Z"}],"nvd":[{"id":"CVE-2021-31154","description":"pleaseedit in please before 0.4 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.","status":"published","published":"2021-05-27T13:15:08.14Z","modified":"2026-06-17T03:51:20.807Z","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-668"],"updated_at":"2026-11-02T14:06:53.987491Z"}],"osv":[{"id":"CVE-2021-31154","description":"pleaseedit in please before 0.4 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.","status":"published","published":"2021-05-27T13:15:08.14Z","modified":"2026-03-14T10:55:37.374178Z","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-31154","description":"pleaseedit in please before 0.4 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.","status":"published","published":"2021-05-27T13:15:08.14Z","modified":"2026-10-23T18:04:49.829387187Z","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-pp74-39w2-v4w9","title":"Permissions bypass in pleaser","description":"pleaseedit in pleaser before 0.4.0 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.","status":"published","published":"2021-08-25T21:01:44Z","modified":"2023-11-08T04:05:47.07049Z","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-340","CWE-59"],"updated_at":"2026-11-02T15:46:53.244788Z"},{"id":"RUSTSEC-2021-0102","title":"Permissions bypass in pleaser","description":"pleaseedit in pleaser before 0.4 uses predictable temporary filenames in /tmp and the target directory. This allows a local attacker to gain full root privileges by staging a symlink attack.","status":"published","published":"2021-05-27T12:00:00Z","modified":"2023-11-08T04:05:47.07049Z","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"}]}}
