GitHub Advisoryadvisory · npm

GHSA-hj48-42vr-x3v9 Regular Expression Denial of Service in path-parse

MEDIUM Published 2021-08-10 Modified 2021-08-10 Official page ↗
Aliases
CVE-2021-23343
Ecosystem
npm
Packages
path-parse
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weaknesses
CWE-400
Reviewed
2021-05-19

Affected packages

• npm path-parse: < 1.0.7 → fixed in 1.0.7

Description

Affected versions of npm package `path-parse` are vulnerable to Regular Expression Denial of Service (ReDoS) via splitDeviceRe, splitTailRe, and splitPathRe regular expressions. ReDoS exhibits polynomial worst-case time complexity.

Related

Alias · CVE (1)

  • CVE-2021-23343 All versions of package path-parse are vulnerable to Regular Expression Denial of Service (ReDoS) via splitDeviceRe, splitTailRe, and… vulnerability

Weakness · CWE (1)

  • CWE-400 Uncontrolled Resource Consumption weakness

References