Security mailing lists by PureSourceCode

CVE-2021-23343

HIGH 7.5CVSS 3.1

Regular Expression Denial of Service in path-parse

All versions of 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.

Published
4 May 2021
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-hj48-42vr-x3v9
Sources
NVDJSONOSV GHSA-hj48-42vr-x3v9JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD report@snyk.io (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD path-parse_project path-parse
cpe:2.3:a:path-parse_project:path-parse:*:*:*:*:*:node.js:*:*
< 1.0.7 1.0.7
OSV npm path-parse < 1.0.7 1.0.7

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 4 May 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.