Vulnerability

CVE-2024-45296

highCVSS 3.1 7.5Published 9 Sep 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /pillarjs/path-to-regexp/commit/29b96b4a1de52824e1ca0f49a70…
  • github.com /pillarjs/path-to-regexp/commit/60f2121e9b66b7b622cc01080df…
  • github.com /pillarjs/path-to-regexp/security/advisories/GHSA-9wv6-86v2…
  • security.netapp.com /advisory/ntap-20250124-0001/

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning