7.8

CVE-2021-4034: Red Hat Polkit Out-of-Bounds Read and Write Vulnerability

KEVRansomware
Analyzed
AliasesMGASA-2022-0037SUSE-SU-2022:0189-1SUSE-SU-2022:0190-1
Published 28-01-2022Last modified 15-08-2026

Vulnerability summary

CVE-2021-4034 is a high (CVSS 7.8) Out-of-bounds Write vulnerability in Red Hat Polkit. It is known to be exploited: CISA and ENISA list it, first on 27-06-2022. It has been used in ransomware campaigns. EPSS estimates a 94.92% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities. 6 public exploits are recorded.

Priority
Act nowransomware

Known ransomware use (CISA, 27-06-2022)

Source freshness unavailable

How is this decided?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
94.92%
0%100%
Critical · 0.00 pp in 30 days
KEVExploited in the wildCritical · listed in 2 catalogs
RansomwareKnown useFlagged by CISA
Public exploits6reference, exploit-database, metasploit

Advisory lineage

Upstream 0 · Downstream 2

Timeline

  1. 28-01-2022
    PublishedVulnerability first disclosed.
  2. 27-06-2022
    Added to CISA KEVExploitedRed Hat Polkit Out-of-Bounds Read and Write Vulnerability
  3. 18-07-2022
    CISA remediation dueDeadline passedApply updates per vendor instructions.
  4. 15-08-2026
    Last modifiedVulnerability information updated.
  5. 23-11-2026
    Added to ENISA KEVExploitedAdded to the ENISA known exploited vulnerabilities catalog.

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.

CVSS metrics

7 scores · 6 sources · 2 versions

EPSS trend

Probability

94.92%

Chance of exploitation in the next 30 days

Percentile

100%

Versus all other CVEs

30-day change

No change 0.00 pp

From 94.92% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
27-06-2022
Federal due date
18-07-2022
Ransomware
ENISA CNWListed
Added
23-11-2026
CIRCL

Not in the CIRCL catalog.

CISA required action

Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2021-4034

Public exploits

6 found
  • referenceUnverified

    Exploit Reference (qualys.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (packetstormsecurity.com)

    Maturity: unknown

  • referenceUnverified

    Exploit Reference (secpod.com)

    Maturity: unknown

Show all 6 exploits
  • referenceUnverified

    Exploit Reference (vicarius.io)

    Maturity: unknown

  • exploit-databaselocallinuxUnverified

    PolicyKit-1 0.105-31 - 'PwnKit' Local Privilege Escalation (LPE)

    Maturity: poc

  • MetasploitMetasploitremoteVerified

    Local Privilege Escalation in polkits pkexec

    exploit/linux/local/cve_2021_4034_pwnkit_lpe_pkexec

    Maturity: weaponized

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Suse44 products
  • polkit&distro=HPE Helion OpenStack 8< 0.113-5.24.1
  • polkit&distro=SUSE Enterprise Storage 6< 0.114-3.15.1
  • polkit&distro=SUSE Enterprise Storage 7< 0.116-3.6.1
  • polkit&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS< 0.114-3.15.1
  • polkit&distro=SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS< 0.114-3.15.1
Redhat23 products
Opensuse2 products
  • polkit&distro=openSUSE Leap 15.3< 0.116-3.6.1
  • polkit&distro=openSUSE Tumbleweed< 0.120-2.1
Oracle2 products
Siemens2 products
Starwindsoftware2 products
Alpine1 product
  • polkit< 0.119-r8 | < 0.120-r2
Canonical1 product
Debian1 product
  • policykit-1< 0.105-31.1 | < 0.105-18+deb9u2 | < 0.105-25+deb10u1 | < 0.105-31+deb11u1
Mageia1 product
  • polkit< 0.118-1.2.mga8
Polkit_project1 product
Ubuntu1 product
  • policykit-1< 0.105-4ubuntu3.14.04.6+esm1 | < 0.105-14.1ubuntu0.5+esm1 | < 0.105-20ubuntu0.18.04.6 | < 0.105-26ubuntu1.2 | < 0.105-31ubuntu1

12 vendors · 81 products

References

51 links
Show all 51 references