Vulnerability Details : CVE-2024-22051
CommonMarker versions prior to 0.23.4 are at risk of an integer overflow vulnerability. This vulnerability can result in possibly unauthenticated remote attackers to cause heap memory corruption, potentially leading to an information leak or remote code execution, via parsing tables with marker rows that contain more than UINT16_MAX columns.
Vulnerability category: OverflowMemory CorruptionExecute code
Products affected by CVE-2024-22051
- cpe:2.3:a:github:cmark-gfm:*:*:*:*:*:*:*:*
- cpe:2.3:a:github:cmark-gfm:*:*:*:*:*:*:*:*
- cpe:2.3:a:gjtorikian:commonmarker:*:*:*:*:*:ruby:*:*
Exploit prediction scoring system (EPSS) score for CVE-2024-22051
5.38%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 90 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2024-22051
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
134c704f-9b21-4f2e-91b3-4a467353bcc0 | 2025-04-17 |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | 2024-01-11 |
CWE ids for CVE-2024-22051
-
The product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.Assigned by:
- disclosure@vulncheck.com (Secondary)
- nvd@nist.gov (Primary)
References for CVE-2024-22051
-
https://github.com/gjtorikian/commonmarker/security/advisories/GHSA-fmx4-26r3-wxpf
Integer overflow in cmark-gfm table parsing extension leads to heap memory corruption · Advisory · gjtorikian/commonmarker · GitHubVendor Advisory
-
https://github.com/gjtorikian/commonmarker/commit/ab4504fd17460627a6ab255bc3c63e8e5fc6aed3
Merge pull request from GHSA-fmx4-26r3-wxpf · gjtorikian/commonmarker@ab4504f · GitHubPatch
-
https://vulncheck.com/advisories/vc-advisory-GHSA-fmx4-26r3-wxpf
CommonMarker Integer Overflow Vulnerability | VulnCheck AdvisoriesThird Party Advisory
-
https://github.com/github/cmark-gfm/security/advisories/GHSA-mc3g-88wq-6f4x
Integer overflow in table parsing extension leads to heap memory corruption · Advisory · github/cmark-gfm · GitHubNot Applicable
-
https://github.com/advisories/GHSA-fmx4-26r3-wxpf
Integer overflow in cmark-gfm table parsing extension leads to heap memory corruption · GHSA-fmx4-26r3-wxpf · GitHub Advisory Database · GitHubThird Party Advisory
Jump to