GHSA-hj48-42vr-x3v9

Regular Expression Denial of Service in path-parse

At a glance

Published
Updated
CVE
CVE-2021-23343
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

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.

Affected packages

PackageVersions
npm · path-parseintroduced 0, fixed 1.0.7

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database