#VU60007 Input validation error in polkit - CVE-2021-4034

 

#VU60007 Input validation error in polkit - CVE-2021-4034

Published: January 26, 2022 / Updated: April 27, 2023


Vulnerability identifier: #VU60007
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Green
CVE-ID: CVE-2021-4034
CWE-ID: CWE-20
Exploitation vector: Local access
Exploit availability: The vulnerability is being exploited in the wild
Vulnerable software:
polkit
Software vendor:
Freedesktop.org

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to improper handling of the calling parameters count in the pkexec setuid binary, which causes the binary to execute environment variables as commands. A local user can craft environment variables in a way that they will be processed and executed by pkexec and execute arbitrary commands on the system as root.


Remediation

Install update from vendor's website.

External links