Out-of-bounds Read Affecting polkit-devel package, versions <0:0.112-22.el7_7.2


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Attacked
EPSS
0.14% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-POLKITDEVEL-4979092
  • published26 Jan 2022
  • disclosed25 Jan 2022

Introduced: 25 Jan 2022

CVE-2021-4034  (opens in a new tab)
CWE-125  (opens in a new tab)
CWE-787  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade RHEL:7 polkit-devel to version 0:0.112-22.el7_7.2 or higher.
This issue was patched in RHSA-2022:0273.

NVD Description

Note: Versions mentioned in the description apply only to the upstream polkit-devel package and not the polkit-devel package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

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 Base Scores

version 3.1