Skip to content
Noroxi
CVE-2021-4115· NVD / CVE Program· CNA redhat

There is a flaw in polkit which can allow an unprivileged user to cause polkit to crash, due to process file descriptor exhaustion.

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

MediumCVSS 5.5 · v3.1—No exploit Fix available
Published
Feb 21, 2022
Updated
Jun 17, 2026
EPSS
0.5% · 42th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

22

Monitor

Low priority for now.

CVSS
22 / 40 · 5.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 0.5%

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Affected systems

VendorProduct
polkit projectpolkit
redhatenterprise linux
fedoraprojectfedora
canonicalubuntu linux
debiandebian linux
oraclezfs storage appliance kit

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • canonical ubuntu linux20.04
  • canonical ubuntu linux21.10
  • debian debian linux11.0
  • fedoraproject fedora34
  • fedoraproject fedora35
  • oracle zfs storage appliance kit8.8
  • polkit project polkit0.117
  • redhat enterprise linux8.0

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • n/a polkitd

    • 0.117affected

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8polkitbefore 0.115-13.el8_5.20.115-13.el8_5.2
AlmaLinux:8polkit-develbefore 0.115-13.el8_5.20.115-13.el8_5.2
AlmaLinux:8polkit-docsbefore 0.115-13.el8_5.20.115-13.el8_5.2
AlmaLinux:8polkit-libsbefore 0.115-13.el8_5.20.115-13.el8_5.2
Debian:12policykit-1before 0.105-320.105-32
openSUSE:Leap 15.3polkitbefore 0.116-3.9.10.116-3.9.1
openSUSE:Tumbleweedpolkitbefore 0.120-3.10.120-3.1
Red Hat:enterprise_linux:8::baseospolkitbefore 0:0.115-13.el8_5.20:0.115-13.el8_5.2
Red Hat:enterprise_linux:8::baseospolkit-debuginfobefore 0:0.115-13.el8_5.20:0.115-13.el8_5.2
Red Hat:enterprise_linux:8::baseospolkit-debugsourcebefore 0:0.115-13.el8_5.20:0.115-13.el8_5.2
Red Hat:enterprise_linux:8::baseospolkit-develbefore 0:0.115-13.el8_5.20:0.115-13.el8_5.2
Red Hat:enterprise_linux:8::baseospolkit-docsbefore 0:0.115-13.el8_5.20:0.115-13.el8_5.2
Red Hat:enterprise_linux:8::baseospolkit-libsbefore 0:0.115-13.el8_5.20:0.115-13.el8_5.2
Red Hat:enterprise_linux:8::baseospolkit-libs-debuginfobefore 0:0.115-13.el8_5.20:0.115-13.el8_5.2
Rocky Linux:8polkitbefore 0:0.115-13.el8_5.20:0.115-13.el8_5.2
SUSE:Linux Enterprise Module for Basesystem 15 SP3polkitbefore 0.116-3.9.10.116-3.9.1
SUSE:Linux Enterprise Software Development Kit 12 SP5polkitbefore 0.113-5.27.10.113-5.27.1

Other highest-scoring records for the same primary product.

  • CVE-2021-4034A local privilege escalation vulnerability was found on polkit's pkexec utility.KEV
    89Now
  • CVE-2021-3560It was found that polkit could be tricked into bypassing the credential checks for D-Bus requests, elevating the privileges of the requestorKEV
    68This week
  • CVE-2018-19788A flaw was found in PolicyKit (aka polkit) 0.115 that allows a user with a uid greater than INT_MAX to successfully execute any systemctl co
    38Monitor
  • CVE-2019-6133In PolicyKit (aka polkit) 0.115, the "start time" protection mechanism can be bypassed because fork() is not atomic, and therefore authoriza
    26Monitor
  • CVE-2015-3256PolicyKit (aka polkit) before 0.113 allows local users to cause a denial of service (memory corruption and polkitd daemon crash) and possibl
    18Monitor
  • CVE-2015-3255The polkit_backend_action_pool_init function in polkitbackend/polkitbackendactionpool.c in PolicyKit (aka polkit) before 0.113 might allow l
    18Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
almalinux:polkit0.115-13.el8_5.2 · AlmaLinux:8Package registry (OSV)
almalinux:polkit-devel0.115-13.el8_5.2 · AlmaLinux:8Package registry (OSV)
almalinux:polkit-docs0.115-13.el8_5.2 · AlmaLinux:8Package registry (OSV)
almalinux:polkit-libs0.115-13.el8_5.2 · AlmaLinux:8Package registry (OSV)
debian:policykit-10.105-32 · Debian:12Package registry (OSV)
opensuse:polkit0.116-3.9.1 · openSUSE:Leap 15.3Package registry (OSV)
red hat:polkit0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:polkit-debuginfo0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:polkit-debugsource0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:polkit-devel0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:polkit-docs0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:polkit-libs0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
red hat:polkit-libs-debuginfo0:0.115-13.el8_5.2 · Red Hat:enterprise_linux:8::baseosPackage registry (OSV)
rocky linux:polkit0:0.115-13.el8_5.2 · Rocky Linux:8Package registry (OSV)
suse:polkit0.113-5.27.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5Package registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
none
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
None
Availability impact
High

CVSS vector

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

nvd-primary

Root cause

Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
function expand(node) {  return node.children.map(expand);}

Fixed

ts
const MAX_DEPTH = 32;function expand(node, depth = 0) {  if (depth > MAX_DEPTH) throw new Error("too deep");  return node.children.map((c) => expand(c, depth + 1));}

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records