Advisory

GHSA-hj48-42vr-x3v9

Also known as: CVE-2021-23343

Summary

Regular Expression Denial of Service in path-parse

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-08-10 15:33 UTC
Modified
2025-01-14 08:57 UTC

Affected packages and fixes

path-parse

npm · All systems

Affected

  • introduced 0, fixed 1.0.7 (semver)

Fixed versions

1.0.7

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences