GitHub Advisoryadvisory · npm

GHSA-rrr8-f88r-h8q6 find-my-way has a ReDoS vulnerability in multiparametric routes

HIGH Published 2024-09-18 Modified 2024-10-07 Official page ↗
Aliases
CVE-2024-45813
Ecosystem
npm
Packages
find-my-way
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-1333
Reviewed
2024-09-18

Affected packages

• npm find-my-way: >= 5.5.0, < 8.2.2 → fixed in 8.2.2 • npm find-my-way: >= 9.0.0, < 9.0.1 → fixed in 9.0.1

Description

Impact A bad regular expression is generated any time you have two parameters within a single segment, when adding a `-` at the end, like `/:a-:b-`. Patches Update to find-my-way v8.2.2 or v9.0.1. or subsequent versions. Workarounds No known workarounds. References • CVE-2024-45296 • Detailed blog post about `path-to-regexp` vulnerability

Related

Alias · CVE (1)

  • CVE-2024-45813 find-my-way is a fast, open source HTTP router, internally using a Radix Tree (aka compact Prefix Tree), supports route params, wildcards,… vulnerability

Weakness · CWE (1)

  • CWE-1333 Inefficient Regular Expression Complexity weakness

References