CVE Tools

CVE-2021-4034

Exploited in the wild. In CISA KEV since 2022‑06‑27. A vendor fix is available.

Published Updated Sources: CVE.org, NVD, BDU, CSAF

What to do

The vendor has published a fix. Version details are below where the sources state them.

Steps

Written by AI from the record
  1. Update your systems to the latest security updates from your Linux vendor—especially the polkit package that includes pkexec. 2) Check whether any of the affected distributions/editions you run are present (Astra Linux, Debian, Ubuntu, Fedora, CentOS, РЕД ОС, polkit community packages, and the named “ФССП” OS). 3) If you manage these machines, ask your IT/admin team to confirm the patch is applied and that no known-vulnerable pkexec remains installed.

What it is

From the CVE record

A local privilege escalation vulnerability was found on polkit's pkexec utility. The pkexec application is a setuid tool designed to allow unprivileged users to run commands as privileged users according predefined policies. The current version of pkexec doesn't handle the calling parameters count correctly and ends trying to execute environment variables as commands. An attacker can leverage this by crafting environment variables in such a way it'll induce pkexec to execute arbitrary code. When successfully executed the attack can cause a local privilege escalation given unprivileged users administrative rights on the target machine.

In plain language

Written by AI from the record

CVE-2021-4034 is a serious local security flaw in polkit’s pkexec tool that can let an attacker take higher privileges on Linux systems, and because it’s already known to be exploited and public exploits exist, most small businesses running the listed Linux distributions should act urgently.

Exploitation

Where each signal puts this CVE on the scale from published to confirmed exploited.

EPSS99th
Public exploit
CISA KEV
CISA KEV

Listed as exploited in the wild since 2022-06-27.

US federal agencies must remediate by 2022-07-18.

Known use in ransomware campaigns.

Apply updates per vendor instructions.
Public exploits

4 sources with a proof of concept or module.

Exploit links, PoCs and Metasploit modules after sign-in
EPSS

94% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.

Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.

Lifecycle

The patch came 120 days before any public exploit.

  1. Patch availableworkaround available, record updated
  2. OpenVAS check added
  3. EPSS band changehigh → critical
  4. Public exploit / PoCsource: other
  5. Patch availableworkaround available, record updated
  6. Added to CISA KEV

Affected products

And 22 more affected products. See all after sign-in

Technical detail

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Scored 7.8 by NVD.

How it is reached

  • Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
  • Attack Complexity LowNo special conditions — the attack can be reliably reproduced
  • Privileges Required LowRequires basic user-level privileges
  • User Interaction NoneNo user interaction needed — fully automated exploitation

Scope

  • Scope UnchangedImpact is limited to the vulnerable component itself

Impact if exploited

  • Confidentiality HighTotal information disclosure — all data in the component is compromised
  • Integrity HighTotal loss of integrity — attacker can modify any data in the component
  • Availability HighTotal denial of service — the component is completely unavailable

Weaknesses

ATT&CK techniques

Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.

Sources

Watch the software you run.

My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.

We'll flag the next CVE, public exploit or patch for Redhat, not every advisory. This one: actively exploited.

We use analytics cookies to see which pages and articles actually help people. Decline and none of them run — the site works the same. What we store