p PatchFirst

CVE-2021-4034

CVE-2021-4034

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 7.8 · High · EPSS 94.9% · In KEV · Public exploit · Fix available

Published
Updated

Stack: system

Affected products and versions

  • polkit

    Versions
    • all: Affected

    No fix published

  • policykit-1 Debian:12

    Affected ranges
    • ECOSYSTEM: < 0.105-31.1

    Update to 0.105-31.1

  • policykit-1 Debian:13

    Affected ranges
    • ECOSYSTEM: < 0.105-31.1

    Update to 0.105-31.1

  • policykit-1 Debian:14

    Affected ranges
    • ECOSYSTEM: < 0.105-31.1

    Update to 0.105-31.1

  • policykit-1 Ubuntu:Pro:14.04:LTS

    Versions
    • 0.105-3ubuntu3
    • 0.105-4ubuntu1
    • 0.105-4ubuntu2
    • 0.105-4ubuntu2.14.04.1
    • 0.105-4ubuntu3.14.04.1
    • 0.105-4ubuntu3.14.04.2
    • 0.105-4ubuntu3.14.04.5
    • 0.105-4ubuntu3.14.04.6
    Affected ranges
    • ECOSYSTEM: < 0.105-4ubuntu3.14.04.6+esm1

    Update to 0.105-4ubuntu3.14.04.6+esm1

  • policykit-1 Ubuntu:Pro:16.04:LTS

    Versions
    • 0.105-11ubuntu2
    • 0.105-13
    • 0.105-13ubuntu1
    • 0.105-14
    • 0.105-14.1
    • 0.105-14.1ubuntu0.1
    • 0.105-14.1ubuntu0.4
    • 0.105-14.1ubuntu0.5
    Affected ranges
    • ECOSYSTEM: < 0.105-14.1ubuntu0.5+esm1

    Update to 0.105-14.1ubuntu0.5+esm1

  • policykit-1 Ubuntu:18.04:LTS

    Versions
    • 0.105-18
    • 0.105-20
    • 0.105-20ubuntu0.18.04.1
    • 0.105-20ubuntu0.18.04.4
    • 0.105-20ubuntu0.18.04.5
    Affected ranges
    • ECOSYSTEM: < 0.105-20ubuntu0.18.04.6

    Update to 0.105-20ubuntu0.18.04.6

  • policykit-1 Ubuntu:20.04:LTS

    Versions
    • 0.105-26ubuntu1
    • 0.105-26ubuntu1.1
    Affected ranges
    • ECOSYSTEM: < 0.105-26ubuntu1.2

    Update to 0.105-26ubuntu1.2

  • policykit-1 Ubuntu:22.04:LTS

    Versions
    • 0.105-31
    Affected ranges
    • ECOSYSTEM: < 0.105-31ubuntu1

    Update to 0.105-31ubuntu1

Original sources

Check your server →