CVE Vulnerabilities

CVE-2022-3517

Uncontrolled Resource Consumption

Published: Oct 17, 2022 | Modified: May 13, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

A vulnerability was found in the minimatch package. This flaw allows a Regular Expression Denial of Service (ReDoS) when calling the braceExpand function with specific arguments, resulting in a Denial of Service.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

Name Vendor Start Version End Version
Minimatch Minimatch_project * 3.0.5 (excluding)
Migration Toolkit for Runtimes 1 on RHEL 8 RedHat nodejs-minimatch *
Red Hat Advanced Cluster Management for Kubernetes 2.7 for RHEL 8 RedHat rhacm2/console-rhel8:v2.7.0-125 *
Red Hat Enterprise Linux 8 RedHat nodejs:18-8070020221118123310.bd1311ed *
Red Hat Enterprise Linux 8 RedHat nodejs:16-8070020221207164159.bd1311ed *
Red Hat Enterprise Linux 8 RedHat nodejs:14-8070020221212161539.bd1311ed *
Red Hat Enterprise Linux 8 RedHat nodejs:14-8070020230306170042.bd1311ed *
Red Hat Enterprise Linux 8.4 Extended Update Support RedHat nodejs:14-8040020230306170312.522a0ee4 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat nodejs:14-8060020230306170237.ad008a3a *
Red Hat Enterprise Linux 9 RedHat nodejs:18-9010020221118120946.rhel9 *
Red Hat Enterprise Linux 9 RedHat nodejs-1:16.18.1-3.el9_1 *
Red Hat Enterprise Linux 9 RedHat nodejs-nodemon-0:2.0.20-2.el9_1 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-nodejs14-nodejs-0:14.21.1-3.el7 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat rh-nodejs14-nodejs-nodemon-0:2.0.20-2.el7 *
RHODF-4.13-RHEL-9 RedHat odf4/mcg-core-rhel9:v4.13.0-41 *
Red Hat Openshift Data Foundation 4.19 RedHat odf4/odf-cloudnative-pg-rhel9-operator:sha256:f07db836cd49057380480a19cdbcefc624991a2edbfa7dccb41a11a567cd3126 *
Red Hat OpenShift Dev Spaces (RHOSDS) 3.24 RedHat devspaces/code-rhel9:sha256:36fc35cd401140f3df7c45b8cd5682b7468a5dc8a6288d999508a2c50484eada *
Node-minimatch Ubuntu bionic *
Node-minimatch Ubuntu esm-apps/bionic *
Node-minimatch Ubuntu esm-apps/focal *
Node-minimatch Ubuntu focal *
Node-minimatch Ubuntu trusty *
Node-minimatch Ubuntu upstream *
Node-minimatch Ubuntu xenial *

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References