Add rustsec advisory for GHSA-pp74-39w2-v4w9 (#1016)

This commit is contained in:
Jon Moroney
2021-09-09 14:45:16 -07:00
committed by GitHub
parent b59e06ec22
commit 841ecbf1b2

View File

@@ -0,0 +1,16 @@
```toml
[advisory]
id = "RUSTSEC-0000-0000"
package = "pleaser"
date = "2021-05-27"
url = "https://nvd.nist.gov/vuln/detail/CVE-2021-31154"
categories = ["privilege-escalation"]
cvss = "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
aliases = ["CVE-2021-31154"]
[versions]
patched = [">= 0.4"]
```
# Permissions bypass in pleaser
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.