7.8

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

CVSS: 7.8v3.1HighKEVRansomwareAnalyzed
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 lists 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.

Overall risk
90/100
0100
Critical · default modelHow is this calculated?
CVSS score
7.8/10
010
High · v3.1 (CVE.org)
EPSS score
94.92%
0%100%
Critical · 0.00 pp in 30 days
KEVListedCISA
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 KEVRed Hat Polkit Out-of-Bounds Read and Write Vulnerability
  3. 18-07-2022
    CISA remediation dueApply updates per vendor instructions.
  4. 15-08-2026
    Last modifiedVulnerability information updated.

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

6 scores · 5 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

0.00 pp

From 94.92% on 18-09-2026

18-09-202618-10-2026
EPSS score
94.92%

Known exploited

Compare KEV catalogs
CISA KEVListed
Added
27-06-2022
Federal due date
18-07-2022
Ransomware

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 - Privilege Escalation

    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

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
Canonical1 product
Debian1 product
  • policykit-1< 0.105-31.1 | < 0.105-25+deb10u1 | < 0.105-31+deb11u1 | < 0.105-18+deb9u2
Mageia1 product
  • polkit< 0.118-1.2.mga8
Polkit_project1 product
Ubuntu1 product
  • policykit-1< 0.105-20ubuntu0.18.04.6 | < 0.105-26ubuntu1.2 | < 0.105-4ubuntu3.14.04.6+esm1 | < 0.105-14.1ubuntu0.5+esm1 | < 0.105-31ubuntu1

11 vendors · 80 products

References

50 links
Show all 50 references