Advisories

Snarkdown through 2.0.0 Denial of Service via Quadratic Link Resolution

Go back
Severity
medium
Date
Affecting
  • snarkdown <= 2.0.0

CWE
  • CWE-407 Inefficient Algorithmic Complexity
CVSS
6.9
CVSS V4 Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Credit
Saidakbar Saidkarimov, Brian Willows
Description
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.

Ready to get Started?

Explore VulnCheck, a next-generation Cyber Threat Intelligence platform, which provides exploit and vulnerability intelligence to help you prioritize and remediate vulnerabilities that matter.
  • Vulnerability Prioritization
    Prioritize vulnerabilities that matter based on the threat landscape and defer vulnerabilities that don't.
  • Early Warning System
    Real-time alerting of changes in the vulnerability landscape so that you can take action before the attacks start.