Skip to content

Known exploited

CVE-2021-4034 on Debian 13: affected packages and fixed versions

1 package on Debian 13 is affected by CVE-2021-4034 (Red Hat Polkit Out-of-Bounds Read and Write Vulnerability). A host is fixed once the package is at the version below or newer.

This vulnerability is known to be exploited. CISA added it to its catalog on June 27, 2022, with a remediation date of July 18, 2022 for US federal agencies. It has been used in ransomware campaigns.

Affected packages

PackageFixed inSeverityAdvisory
policykit-1 0.105-31.1 Not rated none listed

Check a host

Show the installed version and compare with the table above:

dpkg-query -W -f='${Package} ${Version}\n' policykit-1

Update to the fixed build:

sudo apt-get update && sudo apt-get install --only-upgrade policykit-1

The fixed version may look older than the upstream release that fixed the bug. Debian 13 carries the fix in the version it already ships.

What it is

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.

CVE-2021-4034 on other releases

Know which of your hosts are affected

SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.

Get started free Check one server now, no signup