Inefficient Regular Expression Complexity Affecting thingsboard package, versions <3.7-r2


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-THINGSBOARD-7926942
  • published11 Sept 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 thingsboard to version 3.7-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream thingsboard package and not the thingsboard 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