LowGHSA-ch52-vgq2-943f
Regular Expression Denial of Service in marked
Published 3 Sept 2020 · Updated 31 Aug 2020
Affected package
markednpm
- Affected
- >=0.4.0 <0.7.0
- Fixed in
- 0.7.0
Update to the fixed version for your release line, for example:
npm install marked@0.7.0Details
Affected versions of marked are vulnerable to Regular Expression Denial of Service (ReDoS). The _label subrule may significantly degrade parsing performance of malformed input.
Recommendation
Upgrade to version 0.7.0 or later.
Is GHSA-ch52-vgq2-943f in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected marked, and gives you the command that fixes it.
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.