LiveActive security incident?Get immediate response
CVE Record

CVE-2021-31155: Failure to normalize the umask in please before 0.4 allows a local attacker to gain full root privileges if...

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.

UnknownCVSS not scoredNot KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

This is a local privilege-escalation flaw in please before 0.4. If a user is already allowed to run at least one command through please, the umask handling bug can let them gain full root privileges. It matters most on shared Unix-like systems where delegated admin commands are permitted.

Executive priority

Treat as high priority where please is deployed on shared or sensitive systems. The business risk is local users or compromised accounts becoming root, but urgency depends on confirmed please usage and delegated command exposure.

Technical view

CVE-2021-31155 describes failure to normalize umask in please before 0.4. The stated impact is full root privilege gain by a local attacker who can execute at least one command. The source bundle provides no CVSS, CWE, CPE, distribution package mapping, or detailed fixed-release evidence beyond the before-0.4 boundary.

Likely exposure

Exposure is limited to systems running please before 0.4 with local users permitted to execute at least one command. The bundle does not identify affected distributions, package names, or CPEs, so asset inventory must confirm installation and version directly.

Exploitation context

The CVE record is not marked KEV, and the provided sources do not state active exploitation. The attack requires local access plus at least one allowed please command, making compromised user accounts and multi-user servers the main concern.

Researcher notes

Evidence is sparse. The CVE description gives the vulnerable version boundary and privilege-escalation condition, but not CVSS, CWE, affected platform mapping, exploit prevalence, or remediation details. Avoid assuming sudo impact; this CVE is about please.

Mitigation direction

  • Upgrade please to version 0.4 or later where available.
  • Review please rules and remove unnecessary command permissions.
  • Restrict local shell access on systems using delegated privilege tools.
  • Check upstream and distribution guidance for package-specific fixes.
  • Prioritize shared servers and systems with many non-admin users.

Validation and detection

  • Inventory systems for installed please binaries and package versions.
  • Confirm no deployed please version is earlier than 0.4.
  • Audit please configuration for users allowed to run commands.
  • Review logs for unusual privileged command execution where available.
  • Track vendor or distribution advisories for backported fixes.
Prepared
Confidence
medium
Sources
4

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cve · low confidence lookup

CVE-2021-31155 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Unknown
CVSS
Not scored
Known Exploited
No
Published
Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

0CVSS vectors
0Timeline events
0ADP providers
3Source links

CVSS and timeline data

No CVSS vectors or timeline events were available in the normalized CVE source material.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
n/an/an/aListed
Weakness

CWE details

No CWE listed

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.