Inefficient Regular Expression Complexity Affecting vitess-20.0 package, versions <20.0.3-r0


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.05% (18th 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-VITESS200-8366374
  • published11 Nov 2024
  • disclosed9 Sept 2024

Introduced: 9 Sep 2024

CVE-2024-45296  (opens in a new tab)
CWE-1333  (opens in a new tab)

How to fix?

Upgrade Chainguard vitess-20.0 to version 20.0.3-r0 or higher.

NVD Description

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

path-to-regexp turns path strings into a regular expressions. In certain cases, path-to-regexp will output a regular expression that can be exploited to cause poor performance. Because JavaScript is single threaded and regex matching runs on the main thread, poor performance will block the event loop and lead to a DoS. The bad regular expression is generated any time you have two parameters within a single segment, separated by something that is not a period (.). For users of 0.1, upgrade to 0.1.10. All other users should upgrade to 8.0.0.

CVSS Scores

version 3.1