File Descriptor Leak Affecting polkit package, versions <0:0.117-10.amzn2022.0.2


Severity

Recommended
high

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.53% (43rd 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-AMZN2022-POLKIT-3162909
  • published8 Dec 2022
  • disclosed21 Feb 2022

Introduced: 21 Feb 2022

CVE-2021-4115  (opens in a new tab)
CWE-403  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2022 polkit to version 0:0.117-10.amzn2022.0.2 or higher.
This issue was patched in ALAS2022-2022-220.

NVD Description

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

There is a flaw in polkit which can allow an unprivileged user to cause polkit to crash, due to process file descriptor exhaustion. The highest threat from this vulnerability is to availability. NOTE: Polkit process outage duration is tied to the failing process being reaped and a new one being spawned

CVSS Base Scores

version 3.1