Privilege Escalation Affecting pleaser package, versions <0.4.0


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-PLEASER-1584120
  • published11 Sept 2021
  • disclosed27 May 2021
  • creditUnknown

Introduced: 27 May 2021

CVE-2021-31155  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade pleaser to version 0.4.0 or higher.

Overview

pleaser is a polite regex-first sudo alternative.

Affected versions of this package are vulnerable to Privilege Escalation. Failure to normalize the umask allows a local attacker to gain full root privileges if they are allowed to execute at least one command.

References

CVSS Scores

version 3.1