CVE-2021-31155
JSON

7.8high

Permissions bypass in pleaser

Severity
7.8high CVSS:3.1 by NVD
Exploit likelihood
0.41% (higher than 37% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-vc5p-j8vw-mc6xRUSTSEC-2021-0101

Description

Failure to normalize the umask in please before 0.4 allows a local attacker to gain full root privileges if they are allowed to execute at least one command.

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
umask_project umaskbefore 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

Failure to normalize the umask in please before 0.4 allows a local attacker to gain full root privileges if they are allowed to execute at least one command.

GitHub Advisory Database

Failure to normalize the umask in pleaser before 0.4.0 allows a local attacker to gain full root privileges if they are allowed to execute at least one command.

RustSec Advisory Database

Failure to normalize the umask in pleaser before 0.4 allows a local attacker to gain full root privileges if they are allowed to execute at least one command.

NVD (es)

Un fallo para normalizar umask en please versiones anteriores a 0.4, permite a un atacante local alcanzar privilegios de root completos si le tienen permitido ejecutar al menos un comando

References

Sources

SourceRecordLicence
CVE ListCVE-2021-31155 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-vc5p-j8vw-mc6x changed 2023-11-08CC-BY-4.0
RustSec Advisory DatabaseRUSTSEC-2021-0101 changed 2023-11-08CC0-1.0
NVDCVE-2021-31155 changed 2026-06-17Public domain