Security mailing lists by PureSourceCode

CVE-2021-31155

HIGH 7.8CVSS 3.1

Permissions bypass in pleaser

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.

Published
27 May 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-269CWE-279CWE-732
Also known as
GHSA-vc5p-j8vw-mc6xRUSTSEC-2021-0101
Sources
NVDJSONOSV GHSA-vc5p-j8vw-mc6xJSONOSV RUSTSEC-2021-0101JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV RustSec CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.2 AV:L/AC:L/Au:N/C:C/I:C/A:C

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD umask_project umask
cpe:2.3:a:umask_project:umask:*:*:*:*:*:*:*:*
< 0.4 0.4
OSV crates.io pleaser < 0.4.0 0.4.0
OSV crates.io pleaser >= 0.0.0-0, < 0.4.0 0.4.0

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 May 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 27 May 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.