Skip to main content
Network Thinking Solutions Logo

CVE-2021-4034

polkit local privilege escalation in pkexec

All CVEs
CVE-2021-4034
Known exploited · CISA KEV
Published 1/28/2022

polkit local privilege escalation in pkexec

Vendor advisory
CVSS7.8High

Overview

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.

Published
1/28/2022
Last modified
8/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

Known exploited · CISA KEV

The source record flags evidence of exploitation in the wild. Whether a specific system is affected depends on the product, version, and advisory conditions.

Added to KEV: Not available

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
polkit
polkit project
< 121

Verify advisory

Source
enterprise linux server update services for sap solutions
redhat
7.6

Verify advisory

Source
enterprise linux server update services for sap solutions
redhat
7.7

Verify advisory

Source
enterprise linux
redhat
8.0

Verify advisory

Source
enterprise linux desktop
redhat
7.0

Verify advisory

Source
enterprise linux eus
redhat
8.2

Verify advisory

Source
enterprise linux for ibm z systems
redhat
7.0

Verify advisory

Source
enterprise linux for ibm z systems
redhat
8.0

Verify advisory

Source
enterprise linux for ibm z systems eus
redhat
8.2

Verify advisory

Source
enterprise linux for ibm z systems eus
redhat
8.4

Verify advisory

Source
enterprise linux for power big endian
redhat
7.0

Verify advisory

Source
enterprise linux for power little endian
redhat
7.0

Verify advisory

Source
enterprise linux for power little endian
redhat
8.0

Verify advisory

Source
enterprise linux for power little endian eus
redhat
8.1

Verify advisory

Source
enterprise linux for power little endian eus
redhat
8.2

Verify advisory

Source
enterprise linux for power little endian eus
redhat
8.4

Verify advisory

Source
enterprise linux for scientific computing
redhat
7.0

Verify advisory

Source
enterprise linux server
redhat
6.0

Verify advisory

Source
enterprise linux server
redhat
7.0

Verify advisory

Source
enterprise linux server aus
redhat
7.3

Verify advisory

Source
enterprise linux server aus
redhat
7.4

Verify advisory

Source
enterprise linux server aus
redhat
7.6

Verify advisory

Source
enterprise linux server aus
redhat
7.7

Verify advisory

Source
enterprise linux server aus
redhat
8.2

Verify advisory

Source
enterprise linux server aus
redhat
8.4

Verify advisory

Source
enterprise linux server eus
redhat
8.4

Verify advisory

Source
enterprise linux server tus
redhat
7.6

Verify advisory

Source
enterprise linux server tus
redhat
7.7

Verify advisory

Source
enterprise linux server tus
redhat
8.2

Verify advisory

Source
enterprise linux server tus
redhat
8.4

Verify advisory

Source
enterprise linux server update services for sap solutions
redhat
8.1

Verify advisory

Source
enterprise linux server update services for sap solutions
redhat
8.2

Verify advisory

Source
enterprise linux server update services for sap solutions
redhat
8.4

Verify advisory

Source
enterprise linux workstation
redhat
7.0

Verify advisory

Source
ubuntu linux
canonical
14.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
16.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
18.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
20.04

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
ubuntu linux
canonical
21.10

Verify advisory

Source
enterprise storage
suse
7.0

Verify advisory

Source
linux enterprise high performance computing
suse
15.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
manager proxy
suse
4.1

Verify advisory

Source
manager server
suse
4.1

Verify advisory

Source
linux enterprise desktop
suse
15

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
linux enterprise server
suse
15

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
linux enterprise workstation extension
suse
12

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
http server
oracle
12.2.1.3.0

Verify advisory

Source
http server
oracle
12.2.1.4.0

Verify advisory

Source
zfs storage appliance kit
oracle
8.8

Verify advisory

Source
sinumerik edge
siemens
< 3.3.0

Verify advisory

Source
scalance lpe9403 firmware
siemens
< 2.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
command center
starwindsoftware
1.0

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
starwind virtual san
starwindsoftware
v8

Verify advisory

The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory.

Source
polkit
n/a
all

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.