Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2021-4034

A local privilege escalation vulnerability was found on polkit's pkexec utility.
Back to all
CVE

CVE-2021-4034

A local privilege escalation vulnerability was found on polkit's pkexec utility.

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.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.8
-
3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
C
H
U
-

Related Resources

No items found.

References

https://access.redhat.com/security/vulnerabilities/RHSB-2022-001, https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt, https://www.cisa.gov/known-exploited-vulnerabilities-catalog?fieldcve=CVE-2021-4034, http://packetstormsecurity.com/files/166196/Polkit-pkexec-Local-Privilege-Escalation.html, http://packetstormsecurity.com/files/166200/Polkit-pkexec-Privilege-Escalation.html, https://cert-portal.siemens.com/productcert/pdf/ssa-330556.pdf, https://www.oracle.com/security-alerts/cpuapr2022.html, https://www.secpod.com/blog/local-privilege-escalation-vulnerability-in-major-linux-distributions-cve-2021-4034/, https://www.starwindsoftware.com/security/sw-20220818-0001/, https://www.suse.com/support/kb/doc/?id=000020564, https://www.vicarius.io/vsociety/posts/pwnkit-pkexec-lpe-cve-2021-4034, https://bugzilla.redhat.com/showbug.cgi?id=2025869, https://gitlab.freedesktop.org/polkit/polkit/-/commit/a2bf5c9c83b6ae46cbd5c779d3055bff81ded683

Severity

7.8

CVSS Score
0
10

Basic Information

Ecosystem
Base CVSS
7.8
EPSS Probability
0.87119%
EPSS Percentile
0.99418%
Introduced Version
0
Fix Available
a2bf5c9c83b6ae46cbd5c779d3055bff81ded683,0:0.96-11.el6_10.2,0:0.112-26.el7_9.1,0:0.115-13.el8_5.1,0.105-25+deb10u1,0.105-31.1,0.105-31+deb11u1,0:0.105-20ubuntu0.18.04.6,0:0.105-26ubuntu1.2,0:0.105-31ubuntu1,0.120-r2,0.119-r8,121,0:0.115-13.0.1.el8_5.1,0:0.112-26.0.1.el7_9.1,0:0.112-26.amzn2.1,0:0.117-3.amzn2022.2,0:0.117-10.amzn2022.0.2,0:0.117-10.amzn2023.0.3

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading