SCA: security update for micromatch (GHSA-952p-6rrq-rcjv)

medium Tenable Cloud Security Plugin ID 421392

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- The NPM package `micromatch` prior to 4.0.8 is vulnerable to Regular Expression Denial of Service (ReDoS).
The vulnerability occurs in `micromatch.braces()` in `index.js` because the pattern `.*` will greedily
match anything. By passing a malicious payload, the pattern matching will keep backtracking to the input
while it doesn't find the closing bracket. As the input size increases, the consumption time will also
increase until it causes the application to hang or slow down. There was a merged fix but further testing
shows the issue persists. This issue should be mitigated by using a safe pattern that won't start
backtracking the regular expression due to greedy matching. This issue was fixed in version 4.0.8.
(CVE-2024-4067)

See Also

https://github.com/advisories/GHSA-952p-6rrq-rcjv

Plugin Details

Severity: Medium

ID: 421392

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 3/28/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 1.2

Percentile: 0.01

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.9

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

CVSS Score Source: CVE-2024-4067

CVSS v3

Risk Factor: Medium

Base Score: 5.3

Temporal Score: 4.8

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/14/2024

Vulnerability Publication Date: 1/31/2024

Reference Information

CVE: CVE-2024-4067