{"id":"RUSTSEC-2021-0102","summary":"Permissions bypass in pleaser","details":"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.","aliases":["CVE-2021-31154","GHSA-pp74-39w2-v4w9"],"modified":"2023-11-08T04:05:47.070490Z","published":"2021-05-27T12:00:00Z","database_specific":{"license":"CC0-1.0"},"references":[{"type":"PACKAGE","url":"https://crates.io/crates/pleaser"},{"type":"ADVISORY","url":"https://rustsec.org/advisories/RUSTSEC-2021-0102.html"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31154"}],"affected":[{"package":{"name":"pleaser","ecosystem":"crates.io","purl":"pkg:cargo/pleaser"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-0"},{"fixed":"0.4.0"}]}],"ecosystem_specific":{"affects":{"arch":[],"os":[],"functions":[]},"affected_functions":null},"database_specific":{"source":"https://github.com/rustsec/advisory-db/blob/osv/crates/RUSTSEC-2021-0102.json","cvss":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","informational":null,"categories":["privilege-escalation"]}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}