HIGH · 7.8

CVE-2021-4034

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 accord...

Vulnerability 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 Score

7.8

HIGH

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH

Affected Products

VendorProductVersions
Polkit ProjectPolkit< 121
RedhatEnterprise Linux Server Update Services For Sap Solutions7.6
RedhatEnterprise Linux8.0
RedhatEnterprise Linux Desktop7.0
RedhatEnterprise Linux Eus8.2
RedhatEnterprise Linux For Ibm Z Systems7.0
RedhatEnterprise Linux For Ibm Z Systems Eus8.2
RedhatEnterprise Linux For Power Big Endian7.0
RedhatEnterprise Linux For Power Little Endian7.0
RedhatEnterprise Linux For Power Little Endian Eus8.1
RedhatEnterprise Linux For Scientific Computing7.0
RedhatEnterprise Linux Server6.0
RedhatEnterprise Linux Server Aus7.3
RedhatEnterprise Linux Server Eus8.4
RedhatEnterprise Linux Server Tus7.6
RedhatEnterprise Linux Workstation7.0
CanonicalUbuntu Linux14.04
SuseEnterprise Storage7.0
SuseLinux Enterprise High Performance Computing15.0
SuseManager Proxy4.1

Related Weaknesses (CWE)

References

FAQ

What is CVE-2021-4034?

CVE-2021-4034 is a vulnerability with a CVSS score of 7.8 (HIGH). 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 accord...

How severe is CVE-2021-4034?

CVE-2021-4034 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.

Is there a patch for CVE-2021-4034?

Check the references section above for vendor advisories and patch information. Affected products include: Polkit Project Polkit, Redhat Enterprise Linux Server Update Services For Sap Solutions, Redhat Enterprise Linux, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Eus.