Vulnerability · Published Jan 4, 2024 · Assigned by VulnCheck

CVE-2024-22051CommonMarker Integer Overflow Vulnerability

Critical 9.8

In plain English

A critical-severity integer overflow in commonmarker. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.8Critical
Exploit odds (30 days)1.5%top 26.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ruby-commonmarker0.23.4-1DEBIAN-CVE-2024-22051
Debian:13ruby-commonmarker0.23.4-1DEBIAN-CVE-2024-22051
Debian:14ruby-commonmarker0.23.4-1DEBIAN-CVE-2024-22051
RubyGemscommonmarker0.23.4GHSA-fmx4-26r3-wxpf
Ubuntu:22.04:LTSruby-commonmarkerno fix listedUBUNTU-CVE-2024-22051

Affected products (as reported)

VendorProductVersions
commonmarker 0 – before 0.23.4

Weakness: CWE-190 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

References