Skip to content
On CISA KEVHigh

CVE-2021-4034Polkit Out-of-Bounds Read

policykit-1 - security update

Published Jan 28, 2022 · Updated Nov 3, 2026 · Also known as ALPINE-CVE-2021-4034, CLEANSTART-2024-HL41590, CLSA-2022-1643211736, CLSA-2022-1643211885, CLSA-2022-1643211942, CLSA-2022-1643212149, CLSA-2022-1643291562, DEBIAN-CVE-2021-4034, DLA-2899-1, DSA-5059-1, MGASA-2022-0037, OESA-2022-1502, Pwn Kit, PwnKit, SUSE-SU-2022:0189-1, SUSE-SU-2022:0190-1, SUSE-SU-2022:0191-1, TR-22-0091, TR-22-0158, UBUNTU-CVE-2021-4034, USN-5252-1, USN-5252-2, openSUSE-SU-2024:11780-1

Key Facts

Patch immediately
  • CVE-2021-4034 is a high-severity vulnerability (CVSS 7.8 v3.1) affecting HTTP Server (Oracle), Zfs Storage Appliance Kit (Oracle), Polkit (Polkit Project) and 22 more products.
  • It is exploited in the wild, listed in CISA KEV, Industry KEV feed, CIRCL KEV, ENISA EUVD since Jun 7, 2022 and is known to be used in ransomware campaigns. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 95% probability of exploitation in the next 30 days.
  • Fixed versions are available, including gir1.2-polkit-1.0 0.105-14.1ubuntu0.5+tuxcare.els1, libpolkit-agent-1-0 0.105-14.1ubuntu0.5+tuxcare.els1, libpolkit-agent-1-0 0.120-2.1.
  • Brandefense priority: patch immediately, because it is listed as exploited in the wild.

Scores

CVSS v3.1

7.8

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

95%

Higher than 99.9% of all scored CVEs

Exploit maturity

Exploited (KEV)

ATLAS score

82/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Jun 27, 2022

150 days after publication

Federal due date

Jul 18, 2022

Overdue

Ransomware use

Known

Exploit & Defence Guidance

Exploit maturity

Exploited (KEV)

Public exploit code

3

Proof-of-concept links

In-the-wild evidence

14

Reports of active use

Required action (CISA): Apply updates per vendor instructions.

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.

Known-Exploited Catalog Listings

CatalogAddedRemediation dueRansomware use
CISA KEVJun 27, 2022Jul 18, 2022Known
Industry KEV feedJun 7, 2022Jul 18, 2022Known
CIRCL KEVJun 27, 2022Jul 18, 2022Known
ENISA EUVDJun 27, 2022n/aNot reported

Required action: Apply updates per vendor instructions.

Affected Products

337 affected entries in total
ProductAffected versionsFixed in
HTTP ServerOracle12.2.1.3.0, 12.2.1.4.0n/a
Zfs Storage Appliance KitOracle8.8n/a
PolkitPolkit Project>= all121
Enterprise Linux Server Update Services For Sap SolutionsRedhat7.6, 7.7, 8.1, 8.2, 8.4n/a
Sinumerik EdgeSiemensSee advisory3.3.0
20 more affected products in the full CVE brief

Patched Releases

gir1.2-polkit-1.0

0.105-14.1ubuntu0.5+tuxcare.els1

libpolkit-agent-1-0

0.105-14.1ubuntu0.5+tuxcare.els1, 0.120-2.1

libpolkit-agent-1-0-32bit

0.120-2.1

libpolkit-agent-1-dev

0.105-14.1ubuntu0.5+tuxcare.els1

libpolkit-backend-1-0

0.105-14.1ubuntu0.5+tuxcare.els1

libpolkit-backend-1-dev

0.105-14.1ubuntu0.5+tuxcare.els1

libpolkit-gobject-1-0

0.105-14.1ubuntu0.5+tuxcare.els1, 0.120-2.1

libpolkit-gobject-1-0-32bit

0.120-2.1

libpolkit-gobject-1-dev

0.105-14.1ubuntu0.5+tuxcare.els1

libpolkit0

0.113-5.24.1, 0.114-3.15.1, 0.116-3.6.1

libpolkit0-32bit

0.113-5.24.1, 0.116-3.6.1

policykit-1

0.105-14.1ubuntu0.5+esm1, 0.105-14.1ubuntu0.5+tuxcare.els1, 0.105-18+deb9u2, 0.105-20ubuntu0.18.04.6, 0.105-25+deb10u1, 0.105-26ubuntu1.2, 0.105-31.1, 0.105-31+deb11u1, 0.105-31ubuntu1, 0.105-4ubuntu3.14.04.6+esm1

policykit-1-doc

0.105-14.1ubuntu0.5+tuxcare.els1

Polkit

0:0.112-22.el7_7.2, 0:0.115-9.el8_1.2, 0:0.96-11.el6_10.2, 0.112-26.0.1.el7_9.1, 0.112-26.amzn2.1, 0.113-5.24.1, 0.113-6.ph1, 0.113-7.ph2, 0.114-3.15.1, 0.115-11.el8.4.1.tuxcare.els1, 0.115-12.el8.5.tuxcare.els1, 0.115-13.0.1.el8_5.1, 0.115-13.el8_5.1, 0.115-13.el8_5.2, 0.116-3.6.1, 0.116-3.ph3, 0.116-6, 0.116-8.oe1, 0.116-9.oe1, 0.117-10.amzn2022.0.2, 0.117-10.amzn2023.0.3, 0.117-3.amzn2022.2, 0.118-1.2.mga8, 0.119-2, 0.119-r8, 0.120-2.1, 0.120-2.ph4, 0.120-5, 0.120-r2, 0.96-11.0.1.el6_10.1, 0.96-11.el6_10.1.tuxcare.els1, NA, 121

polkit-desktop-policy

0.96-11.0.1.el6_10.1, 0.96-11.el6_10.1.tuxcare.els1

polkit-devel

0.112-26.0.1.el7_9.1, 0.112-26.amzn2.1, 0.113-5.24.1, 0.114-3.15.1, 0.115-11.el8.4.1.tuxcare.els1, 0.115-12.el8.5.tuxcare.els1, 0.115-13.0.1.el8_5.1, 0.116-3.6.1, 0.117-10.amzn2022.0.2, 0.117-10.amzn2023.0.3, 0.117-3.amzn2022.2, 0.120-2.1, 0.120-2.ph4, 0.96-11.0.1.el6_10.1, 0.96-11.el6_10.1.tuxcare.els1, NA

polkit-doc

0.116-3.6.1, 0.120-2.1

polkit-docs

0.112-26.0.1.el7_9.1, 0.112-26.amzn2.1, 0.115-11.el8.4.1.tuxcare.els1, 0.115-12.el8.5.tuxcare.els1, 0.115-13.0.1.el8_5.1, 0.117-10.amzn2022.0.2, 0.117-10.amzn2023.0.3, 0.117-3.amzn2022.2, 0.96-11.0.1.el6_10.1, 0.96-11.el6_10.1.tuxcare.els1

polkit-libs

0.115-11.el8.4.1.tuxcare.els1, 0.115-12.el8.5.tuxcare.els1, 0.115-13.0.1.el8_5.1, 0.117-10.amzn2022.0.2, 0.117-10.amzn2023.0.3, 0.117-3.amzn2022.2

redhat-virtualization-host

0:4.3.21-20220126.0.el7_9, 0:4.4.10-202202081536_8.5

siemens scalance lpe9403 firmware

2.0

Sinumerik Edge

3.3.0

typelib-1_0-Polkit-1_0

0.113-5.24.1, 0.114-3.15.1, 0.116-3.6.1, 0.120-2.1

Timeline

  1. Publicly disclosed

    Jan 28, 2022

  2. Added to Industry KEV feed

    Jun 7, 2022

  3. Added to CISA KEV

    Jun 27, 2022

  4. Added to CIRCL KEV

    Jun 27, 2022

  5. Added to ENISA EUVD

    Jun 27, 2022

  6. Last updated

    Nov 3, 2026

Weakness Type

  • CWE-125 Out-of-bounds Read
  • CWE-787 Out-of-bounds Write

FAQ

Common Questions.

Is CVE-2021-4034 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

More vulnerabilities

Figures as of Dec 1, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.