SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityAnalyzed

CVE-2021-4034

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

KEVHIGH 7.8EPSS 94.9%

Does this matter?

Known to be exploited in the wild (CISA KEV, CISA remediation deadline 18 July 2022). Treat as an emergency change: patch or isolate now, then hunt for prior compromise.

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 3.1
7.8 HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
94.92% probability · 100th percentile
CISA KEV
Listed 27 June 2022 · due 18 July 2022 · used in ransomware campaigns
Weakness
CWE-787, CWE-125
Affected
polkit project/polkit · redhat/enterprise linux server update services for sap solutions · redhat/enterprise linux · redhat/enterprise linux desktop · redhat/enterprise linux eus · redhat/enterprise linux for ibm z systems · redhat/enterprise linux for ibm z systems eus · redhat/enterprise linux for power big endian · redhat/enterprise linux for power little endian · redhat/enterprise linux for power little endian eus · redhat/enterprise linux for scientific computing · redhat/enterprise linux server · redhat/enterprise linux server aus · redhat/enterprise linux server eus · redhat/enterprise linux server tus · redhat/enterprise linux workstation · canonical/ubuntu linux · suse/enterprise storage · suse/linux enterprise high performance computing · suse/manager proxy · +10 more
Source
secalert@redhat.com

CISA notes

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

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.