CVE-2021-31154
Permissions bypass in pleaser
7.8
HIGH
CVSS 3.1
EPSS 0.47%
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.
How to fix CVE-2021-31154
To remediate CVE-2021-31154, upgrade the affected package to a fixed version below.
- Debian/rust-pleaser—upgrade to 0.4.1-1 or later
- —upgrade to 0.4.0 or later
- —upgrade to 0.4.0 or later
Is CVE-2021-31154 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 0.4.1-1
- from 0, < 0.4.0
- >= 0.0.0-0, < 0.4.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |