
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2024-22051 is an integer overflow vulnerability affecting CommonMarker versions prior to 0.23.4. The vulnerability exists in the table parsing functionality of the cmark-gfm library used by CommonMarker for rendering Github Flavored Markdown. This security issue was discovered in early 2024 and received a CVSS v3.1 base score of 9.8 (Critical), indicating its severe nature (NVD, GitHub Advisory).
The vulnerability occurs when parsing tables with marker rows containing more than UINT16_MAX columns, leading to an integer overflow condition. This overflow can result in heap memory corruption during the table row parsing process. The issue is specifically located in the table parsing extension of the cmark-gfm library. The vulnerability has been classified as CWE-190 (Integer Overflow or Wraparound) (NVD, GitHub Advisory).
The impact of this vulnerability ranges from information leakage to potential remote code execution (RCE). When CommonMarker is used for rendering remote user-controlled markdown content, the vulnerability could allow unauthenticated remote attackers to cause heap memory corruption, potentially leading to unauthorized information disclosure or code execution (GitHub Advisory, NVD).
The vulnerability has been patched in CommonMarker version 0.23.4. As a workaround, users can disable the table extension functionality to prevent the vulnerability from being triggered. Organizations using affected versions should upgrade to version 0.23.4 or later to address this security issue (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."