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...
- Published
- Updated
- Exploit status
- Exploited in the wild (confirmed)
- CISA SSVC
- Actively exploited · automatable: no · technical impact: total
- Technology
- UbuntuDebianRed Hat
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.
CISA Known Exploited Vulnerability
- Date added
- 2022-06-27
- Due date (FCEB)
- 2022-07-18
- Ransomware use
- Known
Required action
Apply updates per vendor instructions.
Upgrade path
48 packages: 21 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| alpine/polkit(Alpine v3.15) | < 0.119-r8 | 0.119-r8 | Fixed |
| alpine/polkit(Alpine v3.16) | < 0.120-r2 | 0.120-r2 | Fixed |
| alpine/polkit(Alpine v3.17) | < 0.120-r2 | 0.120-r2 | Fixed |
| alpine/polkit(Alpine v3.18) | < 0.120-r2 | 0.120-r2 | Fixed |
| alpine/polkit(Alpine v3.19) | < 0.120-r2 | 0.120-r2 | Fixed |
| alpine/polkit(Alpine v3.20) | < 0.120-r2 | 0.120-r2 | Fixed |
| alpine/polkit(Alpine v3.21) | < 0.120-r2 | 0.120-r2 | Fixed |
| alpine/polkit(Alpine v3.22) | < 0.120-r2 | 0.120-r2 | Fixed |
| alpine/polkit(Alpine v3.23) | < 0.120-r2 | 0.120-r2 | Fixed |
| alpine/polkit(Alpine v3.24) | < 0.120-r2 | 0.120-r2 | Fixed |
| debian/policykit-1(Debian 12) | < 0.105-31.1 | 0.105-31.1 | Fixed |
| debian/policykit-1(Debian 13) | < 0.105-31.1 | 0.105-31.1 | Fixed |
| debian/policykit-1(Debian 14) | < 0.105-31.1 | 0.105-31.1 | Fixed |
| polkit project polkit | < 121 | 121 | Fixed |
| Siemens scalance lpe9403 firmware | < 2.0 | 2.0 | Fixed |
| Siemens sinumerik edge | < 3.3.0 | 3.3.0 | Fixed |
| ubuntu/policykit-1(Ubuntu 18.04) | < 0.105-20ubuntu0.18.04.6; = 0.105-18; = 0.105-20; = 0.105-20ubuntu0.18.04.1 +2 more | 0.105-20ubuntu0.18.04.6 | Fixed |
| ubuntu/policykit-1(Ubuntu 20.04) | < 0.105-26ubuntu1.2; = 0.105-26ubuntu1; = 0.105-26ubuntu1.1 | 0.105-26ubuntu1.2 | Fixed |
| ubuntu/policykit-1(Ubuntu 22.04) | < 0.105-31ubuntu1; = 0.105-31 | 0.105-31ubuntu1 | Fixed |
| ubuntu/policykit-1(Ubuntu Pro 14.04) | < 0.105-4ubuntu3.14.04.6+esm1; = 0.105-3ubuntu3; = 0.105-4ubuntu1; = 0.105-4ubuntu2 +5 more | 0.105-4ubuntu3.14.04.6+esm1 | Fixed |
| ubuntu/policykit-1(Ubuntu Pro 16.04) | < 0.105-14.1ubuntu0.5+esm1; = 0.105-11ubuntu2; = 0.105-13; = 0.105-13ubuntu1 +5 more | 0.105-14.1ubuntu0.5+esm1 | Fixed |
| Canonical Ubuntu Linux | = 14.04; = 16.04; = 18.04; = 20.04 +1 more | No fix listed | Versions listed |
| oracle http server | = 12.2.1.3.0; = 12.2.1.4.0 | No fix listed | Versions listed |
| oracle zfs storage appliance kit | = 8.8 | No fix listed | Versions listed |
| redhat enterprise linux | = 8.0 | No fix listed | Versions listed |
| redhat enterprise linux desktop | = 7.0 | No fix listed | Versions listed |
| redhat enterprise linux eus | = 8.2 | No fix listed | Versions listed |
| redhat enterprise linux for ibm z systems | = 7.0; = 8.0 | No fix listed | Versions listed |
| redhat enterprise linux for ibm z systems eus | = 8.2; = 8.4 | No fix listed | Versions listed |
| redhat enterprise linux for power big endian | = 7.0 | No fix listed | Versions listed |
… and 18 more packages.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/policykit-1(Ubuntu:22.04) | < 0.105-31ubuntu1 | 0.105-31ubuntu1 |
| debian/policykit-1(Debian:12) | < 0.105-31.1 | 0.105-31.1 |
| debian/policykit-1(Debian:13) | < 0.105-31.1 | 0.105-31.1 |
| debian/policykit-1(Debian:14) | < 0.105-31.1 | 0.105-31.1 |
| alpine/polkit(Alpine:v3.15) | < 0.119-r8 | 0.119-r8 |
| alpine/polkit(Alpine:v3.16) | < 0.120-r2 | 0.120-r2 |
| alpine/polkit(Alpine:v3.17) | < 0.120-r2 | 0.120-r2 |
| alpine/polkit(Alpine:v3.18) | < 0.120-r2 | 0.120-r2 |
| alpine/polkit(Alpine:v3.19) | < 0.120-r2 | 0.120-r2 |
| alpine/polkit(Alpine:v3.20) | < 0.120-r2 | 0.120-r2 |
| alpine/polkit(Alpine:v3.21) | < 0.120-r2 | 0.120-r2 |
| alpine/polkit(Alpine:v3.22) | < 0.120-r2 | 0.120-r2 |
| alpine/polkit(Alpine:v3.23) | < 0.120-r2 | 0.120-r2 |
| alpine/polkit(Alpine:v3.24) | < 0.120-r2 | 0.120-r2 |
| polkit project polkit | < 121 | 121 |
| redhat enterprise linux server update services for sap solutions | = 7.6 | No fix listed |
| redhat enterprise linux server update services for sap solutions | = 7.7 | No fix listed |
| redhat enterprise linux | = 8.0 | No fix listed |
| redhat enterprise linux desktop | = 7.0 | No fix listed |
| redhat enterprise linux eus | = 8.2 | No fix listed |
| redhat enterprise linux for ibm z systems | = 7.0 | No fix listed |
| redhat enterprise linux for ibm z systems | = 8.0 | No fix listed |
| redhat enterprise linux for ibm z systems eus | = 8.2 | No fix listed |
| redhat enterprise linux for ibm z systems eus | = 8.4 | No fix listed |
| redhat enterprise linux for power big endian | = 7.0 | No fix listed |
Show 70 more
| Product | Affected versions | Fixed in |
|---|---|---|
| redhat enterprise linux for power little endian | = 7.0 | No fix listed |
| redhat enterprise linux for power little endian | = 8.0 | No fix listed |
| redhat enterprise linux for power little endian eus | = 8.1 | No fix listed |
| redhat enterprise linux for power little endian eus | = 8.2 | No fix listed |
| redhat enterprise linux for power little endian eus | = 8.4 | No fix listed |
| redhat enterprise linux for scientific computing | = 7.0 | No fix listed |
| redhat enterprise linux server | = 6.0 | No fix listed |
| redhat enterprise linux server | = 7.0 | No fix listed |
| redhat enterprise linux server aus | = 7.3 | No fix listed |
| redhat enterprise linux server aus | = 7.4 | No fix listed |
| redhat enterprise linux server aus | = 7.6 | No fix listed |
| redhat enterprise linux server aus | = 7.7 | No fix listed |
| redhat enterprise linux server aus | = 8.2 | No fix listed |
| redhat enterprise linux server aus | = 8.4 | No fix listed |
| redhat enterprise linux server eus | = 8.4 | No fix listed |
| redhat enterprise linux server tus | = 7.6 | No fix listed |
| redhat enterprise linux server tus | = 7.7 | No fix listed |
| redhat enterprise linux server tus | = 8.2 | No fix listed |
| redhat enterprise linux server tus | = 8.4 | No fix listed |
| redhat enterprise linux server update services for sap solutions | = 8.1 | No fix listed |
| redhat enterprise linux server update services for sap solutions | = 8.2 | No fix listed |
| redhat enterprise linux server update services for sap solutions | = 8.4 | No fix listed |
| redhat enterprise linux workstation | = 7.0 | No fix listed |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 16.04 | No fix listed |
| Canonical Ubuntu Linux | = 18.04 | No fix listed |
| Canonical Ubuntu Linux | = 20.04 | No fix listed |
| Canonical Ubuntu Linux | = 21.10 | No fix listed |
| SUSE enterprise storage | = 7.0 | No fix listed |
| SUSE linux enterprise high performance computing | = 15.0-sp2 | No fix listed |
| SUSE manager proxy | = 4.1 | No fix listed |
| SUSE manager server | = 4.1 | No fix listed |
| SUSE linux enterprise desktop | = 15-sp2 | No fix listed |
| SUSE linux enterprise server | = 15-sp2 | No fix listed |
| SUSE linux enterprise workstation extension | = 12-sp5 | No fix listed |
| oracle http server | = 12.2.1.3.0 | No fix listed |
| oracle http server | = 12.2.1.4.0 | No fix listed |
| oracle zfs storage appliance kit | = 8.8 | No fix listed |
| Siemens sinumerik edge | < 3.3.0 | 3.3.0 |
| Siemens scalance lpe9403 firmware | < 2.0 | 2.0 |
| starwindsoftware command center | = 1.0-update3_build5871 | No fix listed |
| starwindsoftware starwind virtual san | = v8-build14338 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:14.04) | < 0.105-4ubuntu3.14.04.6+esm1 | 0.105-4ubuntu3.14.04.6+esm1 |
| ubuntu/policykit-1(Ubuntu:Pro:14.04) | = 0.105-3ubuntu3 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:14.04) | = 0.105-4ubuntu1 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:14.04) | = 0.105-4ubuntu2 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:14.04) | = 0.105-4ubuntu2.14.04.1 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:14.04) | = 0.105-4ubuntu3.14.04.1 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:14.04) | = 0.105-4ubuntu3.14.04.2 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:14.04) | = 0.105-4ubuntu3.14.04.5 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:14.04) | = 0.105-4ubuntu3.14.04.6 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:16.04) | < 0.105-14.1ubuntu0.5+esm1 | 0.105-14.1ubuntu0.5+esm1 |
| ubuntu/policykit-1(Ubuntu:Pro:16.04) | = 0.105-11ubuntu2 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:16.04) | = 0.105-13 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:16.04) | = 0.105-13ubuntu1 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:16.04) | = 0.105-14 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:16.04) | = 0.105-14.1 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:16.04) | = 0.105-14.1ubuntu0.1 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:16.04) | = 0.105-14.1ubuntu0.4 | No fix listed |
| ubuntu/policykit-1(Ubuntu:Pro:16.04) | = 0.105-14.1ubuntu0.5 | No fix listed |
| ubuntu/policykit-1(Ubuntu:18.04) | < 0.105-20ubuntu0.18.04.6 | 0.105-20ubuntu0.18.04.6 |
| ubuntu/policykit-1(Ubuntu:18.04) | = 0.105-18 | No fix listed |
| ubuntu/policykit-1(Ubuntu:18.04) | = 0.105-20 | No fix listed |
| ubuntu/policykit-1(Ubuntu:18.04) | = 0.105-20ubuntu0.18.04.1 | No fix listed |
| ubuntu/policykit-1(Ubuntu:18.04) | = 0.105-20ubuntu0.18.04.4 | No fix listed |
| ubuntu/policykit-1(Ubuntu:18.04) | = 0.105-20ubuntu0.18.04.5 | No fix listed |
| ubuntu/policykit-1(Ubuntu:20.04) | < 0.105-26ubuntu1.2 | 0.105-26ubuntu1.2 |
| ubuntu/policykit-1(Ubuntu:20.04) | = 0.105-26ubuntu1 | No fix listed |
| ubuntu/policykit-1(Ubuntu:20.04) | = 0.105-26ubuntu1.1 | No fix listed |
| ubuntu/policykit-1(Ubuntu:22.04) | = 0.105-31 | No fix listed |
References
- Debian Security Tracker CVE-2021-4034 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-5252-1 vendor-advisory
- USN-5252-2 vendor-advisory
- www.cve.org issue-tracking
- security.alpinelinux.org vendor-advisory
- access.redhat.com mitigation vendor-advisory
- www.qualys.com exploit issue-tracking mitigation third-party-advisory
- bugzilla.redhat.com issue-tracking patch
- gitlab.freedesktop.org patch
- www.oracle.com patch third-party-advisory
- packetstormsecurity.com exploit third-party-advisory vdb-entry
- packetstormsecurity.com third-party-advisory vdb-entry
- www.suse.com third-party-advisory
- cert-portal.siemens.com third-party-advisory
- www.starwindsoftware.com third-party-advisory
- www.secpod.com exploit third-party-advisory
- www.vicarius.io exploit third-party-advisory
- www.cisa.gov government-resource us-government-resource
- www.cisa.gov issue-tracking
- ENISA EUVD EUVD-2021-33934 third-party-advisory