CVE-2021-4034: high-severity vulnerability in polkit
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
Patch now. It under exploitation confirmed by CISA and has a working public exploit.
Official vendor statements in CSAF/VEX format: whether their product is affected, already fixed, or ruled out — and why. These are the vendor's assertions, not Vexday's judgment.
Apply updates per vendor instructions.
A flaw in polkit's pkexec tool allows unprivileged users to run arbitrary commands with administrator privileges by manipulating environment variables. This happens because pkexec incorrectly processes its input parameters and accidentally executes environment variables as if they were commands.
CVE-2021-4034 is a buffer overflow (CWE-787) in pkexec's argument parsing that causes it to interpret environment variables as executable commands. An unprivileged local attacker can craft malicious environment variables to achieve arbitrary code execution with root privileges; the vulnerability requires only local access and no authentication, resulting in complete privilege escalation.
The full analysis of this CVE is available in Portuguese →