Inefficient Regular Expression Complexity Affecting vitess-18.0 package, versions <18.0.8-r2


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.08% (36th 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 Learn

Learn about Inefficient Regular Expression Complexity vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CHAINGUARDLATEST-VITESS180-8540133
  • published20 Dec 2024
  • disclosed27 Sept 2023

Introduced: 27 Sep 2023

CVE-2023-43646  (opens in a new tab)
CWE-1333  (opens in a new tab)
CWE-400  (opens in a new tab)

How to fix?

Upgrade Chainguard vitess-18.0 to version 18.0.8-r2 or higher.

NVD Description

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

get-func-name is a module to retrieve a function's name securely and consistently both in NodeJS and the browser. Versions prior to 2.0.1 are subject to a regular expression denial of service (redos) vulnerability which may lead to a denial of service when parsing malicious input. This vulnerability can be exploited when there is an imbalance in parentheses, which results in excessive backtracking and subsequently increases the CPU load and processing time significantly. This vulnerability can be triggered using the following input: '\t'.repeat(54773) + '\t/function/i'. This issue has been addressed in commit f934b228b which has been included in releases from 2.0.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS Scores

version 3.1