Skip to content
pkgseek
Back to CVE search

CVE-2021-4034

high · 7.8

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 ad…

First indexed 1/25/2022View on NVD

Advisory Facts

Markdown

CVE-2021-4034 is rated HIGH (7.8), with 15 indexed affected package builds across 3 distributions.

Severity / Score
HIGH (7.8)
Affected builds
15
Affected distros
3
Distros with fixed_in
Alibaba Cloud Linux, Oracle Linux, Ubuntu
+ Embed this vulnerability status card

https://pkgseek.com/embed/security/CVE-2021-4034?locale=en

Distribution-aware status

3
Distributions
15
Package/release records
4
Vendor advisories
15
Fix versions available

Why the upstream version is not enough

Linux distributions often keep an upstream version and backport security patches into the distribution revision. PkgSeek therefore uses exact package versions and vendor advisories; a lower-looking upstream version alone does not prove that a package is vulnerable.

Affected packages

Newest affected build per package, repository source and distribution release.

15 affected package/release combinations
polkit
3x86_64
0.115-11.1.al8.1Fixed in 0.115-13.al8.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade polkit
polkit-devel
3x86_64
0.115-11.1.al8.1Fixed in 0.115-13.al8.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade polkit-devel
polkit-docs
3noarch
0.115-11.1.al8.1Fixed in 0.115-13.al8.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade polkit-docs
polkit-libs
3x86_64
0.115-11.1.al8.1Fixed in 0.115-13.al8.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade polkit-libs
polkit
8x86_64
0.115-12.0.1.el8Fixed in 0.115-13.0.1.el8_5.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade polkit
polkit-devel
8i686, x86_64
0.115-12.0.1.el8Fixed in 0.115-13.0.1.el8_5.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade polkit-devel
polkit-docs
8noarch
0.115-12.0.1.el8Fixed in 0.115-13.0.1.el8_5.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade polkit-docs
polkit-libs
8i686, x86_64
0.115-12.0.1.el8Fixed in 0.115-13.0.1.el8_5.1
Update guidance

Update from the configured distribution repositories, then verify the installed full package version against the vendor advisory.

sudo dnf upgrade polkit-libs

CNNVD cross-reference

Cached Chinese vulnerability records provide local-language classification and aliases. They do not override distribution package or backport status.