CVE-2021-4034
A local privilege escalation vulnerability was found on polkit's pkexec utility. The pkexec application is a setuid tool designed to allow…
Browse: All 2021 CVEs · All vendors
- CVSS score
- 7.8 High
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H- CISA KEV
- Yes — actively exploited (added 2022-06-27, remediation due 2022-07-18)
- Ransomware
- Known ransomware campaign use
- Weakness (CWE)
- CWE-787, CWE-125
- Published
- 2022-01-28
- Last modified
- 2026-08-15
- NVD status
- Analyzed
Description
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.
Affected products
- polkit project polkit
- redhat enterprise linux server update services for sap solutions
- redhat enterprise linux
- redhat enterprise linux desktop
- redhat enterprise linux eus
- redhat enterprise linux for ibm z systems
- redhat enterprise linux for ibm z systems eus
- redhat enterprise linux for power big endian
- redhat enterprise linux for power little endian
- redhat enterprise linux for power little endian eus
- redhat enterprise linux for scientific computing
- redhat enterprise linux server
Affected ranges per NVD CPE data; confirm exact versions in the vendor advisory.
Required action (CISA)
Apply updates per vendor instructions. Federal remediation deadline: 2022-07-18.
How to prioritize this
This vulnerability is on the CISA KEV list, meaning it is being actively exploited — treat it as urgent regardless of the raw CVSS number. Use the live CVE lookup for the latest NVD data, and the CVSS 3.1 calculator to model your own environmental score. For the actively exploited vulnerabilities that matter this week, read The Exploit HQ daily security brief.
References
- http://packetstormsecurity.com/files/166196/Polkit-pkexec-Local-Privilege-Escalation.html
- http://packetstormsecurity.com/files/166200/Polkit-pkexec-Privilege-Escalation.html
- https://access.redhat.com/security/vulnerabilities/RHSB-2022-001
- https://bugzilla.redhat.com/show_bug.cgi?id=2025869
- https://cert-portal.siemens.com/productcert/pdf/ssa-330556.pdf
- https://gitlab.freedesktop.org/polkit/polkit/-/commit/a2bf5c9c83b6ae46cbd5c779d3055bff81ded683
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt
FAQ
Is CVE-2021-4034 actively exploited?
Yes. CISA added CVE-2021-4034 to its Known Exploited Vulnerabilities (KEV) catalog on 2022-06-27, with a federal remediation deadline of 2022-07-18. A KEV listing means real-world exploitation is confirmed, so patching this should be prioritized above many higher-CVSS bugs that aren't being exploited.
What is the CVSS score of CVE-2021-4034?
CVE-2021-4034 has a CVSS base score of 7.8 (High). Its vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
Related vulnerabilities
- CVE-2021-3560 — Red Hat Polkit
- CVE-2015-3246 — Red Hat Libuser
- CVE-2015-5287 — Red Hat Automatic Bug Reporting Tool
- CVE-2018-14667 — Red Hat JBoss RichFaces Framework
- CVE-2010-1428 — Red Hat JBoss
- CVE-2010-0738 — Red Hat JBoss
Data source: NVD & CISA KEV. Shown as-is; nothing added. Last generated from NVD data — re-check the live tool for updates.
kev brief
Patch what's actually being exploited.
Subscribe and get the KEV Patch Priority Playbook, free, in your inbox now.
Free. No spam. Unsubscribe anytime. Delivered by Beehiiv.