CVE-2021-31154
JSON

7.8high

Permissions bypass in pleaser

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-pp74-39w2-v4w9RUSTSEC-2021-0102

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
pleaser (crates.io)before 0.4.0, from 0.0.0-0 before 0.4.0GitHub Advisory Database, RustSec Advisory Database
pleaseedit_project pleaseeditbefore 0.4NVD

All scores

GitHub7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
RustSec Advisory Database7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD7.2high CVSS:2.0AV:L/AC:L/Au:N/C:C/I:C/A:C

Classification

What each source says

CVE List

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.

GitHub Advisory Database

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.

RustSec Advisory Database

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.

NVD (es)

pleaseedit in please versiones anteriores a 0.4, utiliza nombres de archivo temporales predecibles en /tmp y el directorio de destino. Esto permite a un atacante local alcanzar privilegios de root completos al poner en escena un ataque symlink

References

Sources

SourceRecordLicence
CVE ListCVE-2021-31154 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-pp74-39w2-v4w9 changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2021-0102 changed 2023-11-08CC0-1.0
NVDCVE-2021-31154 changed 2026-06-17Public domain