Snarkdown through 2.0.0 contains a denial of service vulnerability in parse() in src/index.js...
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| developitsnarkdown |
≤ 2.0.0→ Not listed |
Not listed |
This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.
Original description The description as published by the source.
Snarkdown through 2.0.0 contains a denial of service vulnerability in parse() in src/index.js that rescans the entire accumulated HTML output for each link. Attackers can supply crafted Markdown with many links or deeply nested '[' brackets to cause quadratic processing time, blocking the JavaScript event loop.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- package github.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web disclosure@vulncheck.com
- web nvd.nist.gov
- web github.com