Skip to content

CVE-2021-4034

Red Hat Polkit Out-of-Bounds Read and Write Vulnerability

  • Actively exploited
  • Used by ransomware
  • High · 7.8 of 10
Exploited since
27 Jun 2022
added to the CISA list
Chance of attacks
95%
in the next 30 days (FIRST EPSS)
Fix deadline
18 Jul 2022
for US federal agencies
Published
28 Jan 2022
in the NVD

What this means

The Red Hat polkit pkexec utility contains an out-of-bounds read and write vulnerability that allows for privilege escalation with administrative rights.

CISA

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.

NIST National Vulnerability Database

What to do

Apply updates per vendor instructions.

CISA's required action. If you use the product, install the vendor's update as soon as possible.

Affected

  • n/a polkit

Official sources

Data from the NIST National Vulnerability Database, the CISA Known Exploited Vulnerabilities list, FIRST EPSS and ENISA, checked 18 Nov 2026. CVSS vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.

May we count your visit with Google Analytics? It sets cookies only if you accept. Privacy Policy