CyberRota Analysis
AI-GeneratedThe league/commonmark PHP library, versions 0.6.0 to 2.9.0, is vulnerable to a denial-of-service attack due to a quadratic time complexity issue in its Markdown parsing process. Attackers can exploit this vulnerability by submitting specially crafted Markdown, leading to excessive CPU consumption and potential service disruption. Organizations using affected versions of this library should prioritize upgrading to version 2.9.0 or later to mitigate the risk.
Public Exploit Signal
A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.
Note: these links are listed for security research and verification purposes only.
Original NVD Description
league/commonmark is a PHP library for parsing and rendering CommonMark Markdown. From 0.6.0 until 2.9.0, specially crafted Markdown lines can cause the parser to have quadratic time complexity when converting, because several parsing paths repeatedly rescan growing portions of a line to translate between character positions and byte positions, and the Autolink extension can also copy and validate the remaining line at every URL-like prefix, allowing an attacker who can submit Markdown for conversion to consume disproportionate CPU time with a comparatively small request. This issue is fixed in 2.9.0.