{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-31154","id":"CVE-2021-31154","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.","descriptionLong":"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.","published":"2021-05-27T12:10:39.000Z","updated":"2026-06-17T03:51:20.807Z","reserved":"2021-04-14T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"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","rating":"high","source":"NVD"},"metrics":[{"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","rating":"high","source":"NVD"},{"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","rating":"high","source":"OSV"},{"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","rating":"high","source":"GitHub"},{"version":"2.0","score":7.2,"vector":"AV:L/AC:L/Au:N/C:C/I:C/A:C","rating":"high","source":"NVD"}],"rating":"high","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"crates.io","name":"pleaser","purl":"pkg:cargo/pleaser","ranges":["<0.4.0",">=0.0.0-0 <0.4.0"],"fixed":["0.4.0"],"advisory":"GHSA-pp74-39w2-v4w9"}],"cwes":["CWE-668","CWE-340","CWE-59"],"aliases":["GHSA-pp74-39w2-v4w9","RUSTSEC-2021-0102"],"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"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00468,"epssPercentile":0.41427,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-31154","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31154","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-31154","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pp74-39w2-v4w9","ok":true,"note":"GHSA-pp74-39w2-v4w9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-31154","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}