cve.bz

CVE-2021-4034

7.8 highKEVEPSS 95%

High (7.8) in Red Hat Polkit. In CISA KEV since 2022-06-27, with known ransomware use. EPSS 95% chance of exploitation in the next 30 days.

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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
95% chance of exploitation in the next 30 days; higher than 99% of CVEs (scores of 2026-10-31)
CISA KEV
listed 2022-06-27, due 2022-07-18, known ransomware use
CWEs
CWE-125, CWE-787
Published
Modified
Record from
the NVD, synced

Affected

References

Check your stackJSON