league/commonmark 2.0.0 before 2.10.2 Quadratic DoS via TableStartParser
thephpleague commonmark
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| league/commonmark Packagist |
|
|
Original description
league/commonmark from 2.0.0 before 2.10.2 contains a quadratic-time denial of service vulnerability in the GitHub Flavored Markdown Table extension's TableStartParser::tryStart() block-start scan. Unauthenticated attackers can submit a large paragraph of pipe-free lines not starting with letters, forcing repeated full-buffer strpos scans that exhaust PHP worker CPU.
From the CVE record · VulnCheck