THREAT OPS › Threat News › [GHSA] GHSA-253c-mchw-3w2r (medium) — markdown-it linkify: true has two quadratic paths, so a few hundred KB of markdown blocks the event loop for tens of seconds
[GHSA] GHSA-253c-mchw-3w2r (medium) — markdown-it linkify: true has two quadratic paths, so a few hundred KB of markdown blocks the event loop for tens of seconds
GHSA-253c-mchw-3w2r Severity: medium CVE: None
markdown-it linkify: true has two quadratic paths, so a few hundred KB of markdown blocks the event loop for tens of seconds
## Summary
Two independent quadratic paths in the `linkify: true` handling. Both are in markdown-it's own code rather than in linkify-it, which stays linear on both payloads.
`src/rules_core/linkify.ts` calls `arrayReplaceAt
Indicators of compromise
- http://`url
- a@b.coemail
Original source: https://github.com/advisories/GHSA-253c-mchw-3w2r