CVE-2021-4034

Attackers are using this High severity Published January 28, 2022 · updated August 15, 2026

Attackers are using this.

CISA added it to its list of vulnerabilities being exploited on June 27, 2022. It is known to be used in ransomware attacks.

CISA's advice: Apply updates per vendor instructions.

What it is

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.

What it affects, and the version that fixes it

  • Red Hat Enterprise Linux No fixed version listed yet.
  • Ubuntu No fixed version listed yet.
  • Oracle HTTP Server No fixed version listed yet.
  • Oracle ZFS Storage Appliance Kit No fixed version listed yet.
  • Polkit Project Polkit Make sure you are on 121 or later.
  • Red Hat Enterprise Linux Extended Update Support (EUS) No fixed version listed yet.
  • Red Hat Enterprise Linux For IBM Z Systems No fixed version listed yet.
  • Red Hat Enterprise Linux For IBM Z Systems EUS No fixed version listed yet.
  • Red Hat Enterprise Linux For Power Little Endian No fixed version listed yet.
  • Red Hat Enterprise Linux For Power Little Endian EUS No fixed version listed yet.
  • Red Hat Enterprise Linux For Power, Big Endian No fixed version listed yet.
  • Red Hat Enterprise Linux For Scientific Computing No fixed version listed yet.
  • Red Hat Enterprise Linux Server No fixed version listed yet.
  • Red Hat Enterprise Linux Server (TUS) No fixed version listed yet.
  • Red Hat Enterprise Linux Server Advanced mission critical Update Support (AUS) No fixed version listed yet.
  • Red Hat Enterprise Linux Server Extended Update Support (EUS) No fixed version listed yet.
  • Red Hat Enterprise Linux Server Update Services For SAP Solutions No fixed version listed yet.
  • Red Hat Enterprise Linux Workstation No fixed version listed yet.
  • Redhat Enterprise Linux Desktop No fixed version listed yet.
  • Siemens SCALANCE LPE9403 FIRMWARE Make sure you are on 2.0 or later.
  • Siemens SINUMERIK Edge Make sure you are on 3.3.0 or later.
  • StarWind Software Command Center No fixed version listed yet.
  • Starwindsoftware Starwind Virtual San No fixed version listed yet.
  • SUSE Enterprise Storage No fixed version listed yet.
  • SUSE Linux Enterprise Desktop No fixed version listed yet.

The vendor's advice · The official record (NVD) · CVE.org