CVE-2024-22051 json
CommonMarker Integer Overflow Vulnerability
published 2022-03-03 4 y ago modified 2026-11-08 28 h ago also EUVD-2022-1416 , GHSA-fmx4-26r3-wxpf
- cvss
- 9.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.5%
- EPSS 1.5% chance of exploitation in 30 days, percentile 73%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- rubygems commonmarker 0.23.4
- github cmark-gfm 0.28.3.gfm.21, 0.29.0.gfm.3
- gjtorikian commonmarker 0.23.4
- ruby-commonmarker Debian 14, Debian 13, Debian 12 0.23.4-1
debian advisories DEBIAN-CVE-2024-22051
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-22051 updated cvss 7.5
commonmarker: integer overflow in cmark-gfm's table row parsing may lead to heap memory corruption
-
Red Hat 3scale API Management Platform 2 commonmarker commonmarkeraffected: workaround, no fix available “Disabling any use of the table extension of cmark-gfm will prevent this vulnerability from being triggered.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.45% chance of exploitation in the next 30 days, higher than 73% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| CNA | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | commonmarker | <0.23.4 |
0.23.4 |
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
References
-
github.com
/gjtorikian/commonmarker/commit/ab4504fd17460627a6ab255bc3c63e8e5fc6aed3
patch, web
-
github.com
/github/cmark-gfm/security/advisories/GHSA-mc3g-88wq-6f4x
vendor-advisory, related, web, not-applicable
-
github.com
/gjtorikian/commonmarker/security/advisories/GHSA-fmx4-26r3-wxpf
vendor-advisory, web
-
github.com
/advisories/GHSA-fmx4-26r3-wxpf
vendor-advisory, third-party-advisory
-
vulncheck.com
/advisories/vc-advisory-GHSA-fmx4-26r3-wxpf
third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-22051
advisory
-
github.com
/gjtorikian/commonmarker
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/commonmarker/CVE-2024-22051.yml
web
Sources
- CVE List CVE-2024-22051
- GitHub Advisory GHSA-fmx4-26r3-wxpf
- NVD CVE-2024-22051
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.