Red Hat · polkit · CWE-787 · published 2022-01-28

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

Patch today Known exploited and used in ransomware campaigns.

CVE-2021-4034 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2022-06-27, and it is known to be used in ransomware campaigns. EPSS estimates a 94.9% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This polkit vulnerability: CVSS 7.8 (v3.1), a successful attack gives total control of the component. Patched packages are out for Debian, Ubuntu and Red Hat Enterprise Linux. US federal agencies must remediate by 2022-07-18. Patch today.

Share this

Remediation#

CISA required action: Apply updates per vendor instructions. (federal due date 2022-07-18)

Linux distribution packages

If you run the distro’s package rather than an upstream build, this is the version to look for.

DistroReleasePackageStatus
Debian13 trixiepolicykit-1Fixed in 0.105-31.1
12 bookwormpolicykit-1Fixed in 0.105-31.1
Ubuntu22.04 LTSpolicykit-1Fixed in 0.105-31ubuntu1
20.04 LTSpolicykit-1Fixed in 0.105-26ubuntu1.2
18.04 LTSpolicykit-1Fixed in 0.105-20ubuntu0.18.04.6
Red Hat Enterprise LinuxRHEL 9polkitNot affected
RHEL 8polkitFixed in 0.115-13.el8_5.1 RHSA-2022:0267
RHEL 7polkitFixed in 0.112-26.el7_9.1 RHSA-2022:0274

From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.

Patch events

  1. Patch todayExploited (KEV)CISA due 2022-07-18

    Operating systempolkit

    Out-of-Bounds Read and WriteCVE-2021-4034

    Why: Known exploited and used in ransomware campaigns.

Exploit intelligence#

SignalValueSource
Known exploitedYes, added 2022-06-27CISA KEV
Ransomware useKnownCISA KEV
EPSS (30-day exploitation probability)95% (100th pct)FIRST EPSS v2026.06.15
CVSS base score7.8 (v3.1)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CNA / CISA ADP
SSVC exploitationactiveCISA Vulnrichment
SSVC automatableNoCISA Vulnrichment
SSVC technical impacttotalCISA Vulnrichment

Weakness: CWE-787: Out-of-bounds Write

More from this vendor: all Red Hat vulnerabilities · recent KEV additions

Affected versions (from the CVE record)#

Description (from the CVE record)#

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.

Quoted from the CVE Program record.

Elsewhere#

Distro status: Debian · Ubuntu · Red Hat · Alpine

Something wrong on this page?
Anonymous. Reports are checked against the primary source.

Also on today's list

See today's list → · Coming up →