Ubuntu Security Notice
USN-8290-1
node-path-to-regexp vulnerability
Details
It was discovered that Path-to-Regexp incorrectly handled route patterns containing multiple named parameters separated by non-delimiter characters such as hyphens. An attacker could possibly use this issue to cause a denial of service via catastrophic backtracking in the generated regular expressions.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:16.04:LTS | node-path-to-regexp | All versions before 1.0.1-1ubuntu0.16.04.1~esm1 (fixed in 1.0.1-1ubuntu0.16.04.1~esm1) |
| Ubuntu:Pro:18.04:LTS | node-path-to-regexp | All versions before 1.0.1-1ubuntu0.18.04.1~esm1 (fixed in 1.0.1-1ubuntu0.18.04.1~esm1) |
| Ubuntu:Pro:20.04:LTS | node-path-to-regexp | All versions before 6.1.0-2ubuntu0.1~esm1 (fixed in 6.1.0-2ubuntu0.1~esm1) |
| Ubuntu:Pro:22.04:LTS | node-path-to-regexp | All versions before 6.2.0-2ubuntu0.1~esm1 (fixed in 6.2.0-2ubuntu0.1~esm1) |
| Ubuntu:Pro:24.04:LTS | node-path-to-regexp | All versions before 6.2.1-1ubuntu0.1~esm1 (fixed in 6.2.1-1ubuntu0.1~esm1) |