{"id":"GHSA-pp74-39w2-v4w9","summary":"Permissions bypass in pleaser","details":"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.","aliases":["CVE-2021-31154","RUSTSEC-2021-0102"],"modified":"2023-11-08T04:05:47.070490Z","published":"2021-08-25T21:01:44Z","database_specific":{"github_reviewed_at":"2021-06-01T19:34:12Z","nvd_published_at":"2021-05-27T13:15:00Z","cwe_ids":["CWE-340","CWE-59"],"severity":"HIGH","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31154"},{"type":"WEB","url":"https://crates.io/crates/pleaser"},{"type":"WEB","url":"https://gitlab.com/edneville/please"},{"type":"WEB","url":"https://gitlab.com/edneville/please/-/tree/master/src/bin"},{"type":"WEB","url":"https://rustsec.org/advisories/RUSTSEC-2021-0102.html"},{"type":"WEB","url":"https://www.openwall.com/lists/oss-security/2021/05/18/1"}],"affected":[{"package":{"name":"pleaser","ecosystem":"crates.io","purl":"pkg:cargo/pleaser"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.4.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/08/GHSA-pp74-39w2-v4w9/GHSA-pp74-39w2-v4w9.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}