Skip to content
StratQuad

Threats

Polkit pkexec privilege escalation via environment variables

CVE-2021-4034Known exploitedRansomwareHigh

Polkit's pkexec utility does not correctly handle calling parameters and can attempt to execute environment variables as commands. An attacker with local access can craft environment variables to cause pkexec to execute arbitrary code. If successful, this grants unprivileged users administrative rights on the target machine.

Plain English summary of the NVD and CISA text, checked by machine against both.

Scores and dates

CVSS 3.1
7.8
HIGH
EPSS score
0.95
Probability of exploitation in 30 days
EPSS percentile
99th
Share of scored CVEs at or below this one
Added to KEV
27 Jun 2022
CISA due date
18 Jul 2022
Applies to US federal agencies

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

Daily EPSS score, 3 Nov to 14 Nov, source FIRST

Detail

Red Hat Polkit. CISA required action: Apply updates per vendor instructions.

Weakness: CWE-125 (opens in a new tab), CWE-787 (opens in a new tab)

Affected versions

  • polkit project polkit: before 121
  • redhat enterprise linux server update services for sap solutions: 7.6
  • redhat enterprise linux server update services for sap solutions: 7.7
  • redhat enterprise linux: 8.0
  • redhat enterprise linux desktop: 7.0
  • redhat enterprise linux eus: 8.2
  • redhat enterprise linux for ibm z systems: 7.0
  • redhat enterprise linux for ibm z systems: 8.0
  • redhat enterprise linux for ibm z systems eus: 8.2
  • redhat enterprise linux for ibm z systems eus: 8.4
  • redhat enterprise linux for power big endian: 7.0
  • redhat enterprise linux for power little endian: 7.0
  • redhat enterprise linux for power little endian: 8.0
  • redhat enterprise linux for power little endian eus: 8.1
  • redhat enterprise linux for power little endian eus: 8.2
  • redhat enterprise linux for power little endian eus: 8.4
  • redhat enterprise linux for scientific computing: 7.0
  • redhat enterprise linux server: 6.0
  • redhat enterprise linux server: 7.0
  • redhat enterprise linux server aus: 7.3
  • redhat enterprise linux server aus: 7.4
  • redhat enterprise linux server aus: 7.6
  • redhat enterprise linux server aus: 7.7
  • redhat enterprise linux server aus: 8.2
  • redhat enterprise linux server aus: 8.4

The NVD record lists more.