{"id":"CVE-2021-31154","published":"2021-05-27T12:10:39Z","modified":"2024-08-03T22:48:14Z","title":"pleaseedit in please before 0.4 uses predictable temporary filenames in /tmp and the target directory","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.00468,"percentile":0.32676,"provenance":"source"},"cwes":[],"references":[{"url":"https://gitlab.com/edneville/please/-/tree/master/src/bin","tags":["x_refsource_MISC"]},{"url":"https://www.openwall.com/lists/oss-security/2021/05/18/1","tags":["x_refsource_MISC"]}],"priority":{"score":6.5,"factors":[{"name":"EPSS percentile","points":6.54}]},"affected":[{"ecosystem":"crates.io","package":"pleaser","vulnerableRanges":["<0.4.0",">=0.0.0-0, <0.4.0"],"patched":["0.4.0"],"from":["GHSA-pp74-39w2-v4w9","RUSTSEC-2021-0102"],"provenance":"source"}],"summary":{"text":"The pleaseedit component of the please utility, in versions before 0.4, creates temporary files with predictable names in /tmp and in the target directory. Because the filenames can be guessed in advance, a local attacker who can access the system can stage a symlink attack against them to gain full root privileges.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:17:00Z"},"euvd":{"id":"EUVD-2021-1822","exploited":false,"provenance":"source"}}