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
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
MinimatchMinimatch_project*3.0.5 (excluding)
Migration Toolkit for Runtimes 1 on RHEL 8RedHatnodejs-minimatch*
Red Hat Enterprise Linux 8RedHatnodejs:18-8070020221118123310.bd1311ed*
Red Hat Enterprise Linux 8RedHatnodejs:16-8070020221207164159.bd1311ed*
Red Hat Enterprise Linux 8RedHatnodejs:14-8070020221212161539.bd1311ed*
Red Hat Enterprise Linux 8RedHatnodejs:14-8070020230306170042.bd1311ed*
Red Hat Enterprise Linux 8.4 Extended Update SupportRedHatnodejs:14-8040020230306170312.522a0ee4*
Red Hat Enterprise Linux 8.6 Extended Update SupportRedHatnodejs:14-8060020230306170237.ad008a3a*
Red Hat Enterprise Linux 9RedHatnodejs:18-9010020221118120946.rhel9*
Red Hat Enterprise Linux 9RedHatnodejs-1:16.18.1-3.el9_1*
Red Hat Enterprise Linux 9RedHatnodejs-nodemon-0:2.0.20-2.el9_1*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-nodejs14-nodejs-0:14.21.1-3.el7*
Red Hat Software Collections for Red Hat Enterprise Linux 7RedHatrh-nodejs14-nodejs-nodemon-0:2.0.20-2.el7*
RHODF-4.13-RHEL-9RedHatodf4/mcg-core-rhel9:v4.13.0-41*
Red Hat Openshift Data Foundation 4.19RedHatodf4/odf-cloudnative-pg-rhel9-operator:sha256:7e692ed581d8e65ad171796cb93719eda81092c8d7571456c50004b10fe5a6a3*
Red Hat OpenShift Dev Spaces (RHOSDS) 3.24RedHatdevspaces/code-rhel9:sha256:e8cb98ec2e7a8ad2ccd69796bc78b812df25bcb8be60808f1b66b56cc0e2fd99*
Node-minimatchUbuntubionic*
Node-minimatchUbuntuesm-apps/bionic*
Node-minimatchUbuntuesm-apps/focal*
Node-minimatchUbuntufocal*
Node-minimatchUbuntutrusty*
Node-minimatchUbuntuupstream*
Node-minimatchUbuntuxenial*

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