CVE-2021-4034

Scores

EPSS

0.878high87.8%
0%20%40%60%80%100%

Percentile: 87.8%

CVSS

7.8high3.x
0246810

CVSS Score: 7.8/10

All CVSS Scores

CVSS 3.x
7.8

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS 2.0
7.2

Vector: AV:L/AC:L/Au:N/C:C/I:C/A:C

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

astradebiannvdredhatubuntu

CWEs

CWE-125CWE-787

Related Vulnerabilities

Exploits

Exploit ID: CVE-2021-4034

Source: cisa

URL: https://www.cisa.gov/known-exploited-vulnerabilities-catalog

Exploit ID: 50689

Source: exploitdb

URL: https://www.exploit-db.com/exploits/50689

Vulnerable Software (59)

Type: Configuration

Product: libpolkit

Operating System: altlinux

Trait:
{  "fixed": "0:0.116-alt2.M90P.4"}

Source: redhat

Type: Configuration

Product: libpolkit-devel

Operating System: altlinux

Trait:
{  "fixed": "0:0.116-alt2.M90P.4"}

Source: redhat

Type: Configuration

Product: libpolkit-gir

Operating System: altlinux

Trait:
{  "fixed": "0:0.116-alt2.M90P.4"}

Source: redhat

Type: Configuration

Product: libpolkit-gir-devel

Operating System: altlinux

Trait:
{  "fixed": "0:0.116-alt2.M90P.4"}

Source: redhat

Type: Configuration

Product: policykit-1

Operating System: ubuntu bionic 18.04

Trait:
{  "fixed": "0.105-20ubuntu0.18.04.6"}

Source: ubuntu

Type: Configuration

Product: policykit-1

Operating System: ubuntu focal 20.04

Trait:
{  "fixed": "0.105-26ubuntu1.2"}

Source: ubuntu

Type: Configuration

Product: policykit-1

Operating System: ubuntu hirsute 21.04

Trait:
{  "unfixed": true}

Source: ubuntu

Type: Configuration

Product: policykit-1

Operating System: ubuntu impish 21.10

Trait:
{  "fixed": "0.105-31ubuntu0.1"}

Source: ubuntu

Type: Configuration

Product: policykit-1

Operating System: ubuntu jammy 22.04

Trait:
{  "fixed": "0.105-31ubuntu1"}

Source: ubuntu

Type: Configuration

Product: policykit-1

Operating System: debian

Trait:
{  "fixed": "0.105-31.1"}

Source: debian

Type: Configuration

Product: policykit-1

Operating System: astra 1.7.2.5

Trait:
{  "unaffected": true}

Source: astra

Type: Configuration

Product: policykit-1

Operating System: astra 4.7.2.5

Trait:
{  "unaffected": true}

Source: astra

Type: Configuration

Product: polkit

Operating System: rhel 6

Trait:
{  "fixed": "0.96-11.el6_10.2"}

Source: redhat

Type: Configuration

Product: polkit

Operating System: rhel 7.7

Trait:
{  "fixed": "0.112-22.el7_7.2"}

Source: redhat

Type: Configuration

Product: polkit

Operating System: rhel 7.7

Trait:
{  "fixed": "0.112-22.el7_7.2"}

Source: redhat

Type: Configuration

Product: polkit

Operating System: rhel 7.7

Trait:
{  "fixed": "0.112-22.el7_7.2"}

Source: redhat

Type: Configuration

Product: polkit

Operating System: rhel 8.1

Trait:
{  "fixed": "0.115-9.el8_1.2"}

Source: redhat

Type: Configuration

Product: polkit

Operating System: rhel 8.2

Trait:
{  "fixed": "0.115-11.el8_2.2"}

Source: redhat

Type: Configuration

Product: polkit

Operating System: rhel 8.4

Trait:
{  "fixed": "0.115-11.el8_4.2"}

Source: redhat

Type: Configuration

Product: polkit

Operating System: altlinux

Trait:
{  "fixed": "0:0.116-alt2.M90P.4"}

Source: redhat