Upstream information

CVE-2022-24724 at MITRE

Description

cmark-gfm is GitHub's extended version of the C reference implementation of CommonMark. Prior to versions 0.29.0.gfm.3 and 0.28.3.gfm.21, an integer overflow in cmark-gfm's table row parsing `table.c:row_from_string` may lead to heap memory corruption when parsing tables who's marker rows contain more than UINT16_MAX columns. The impact of this heap corruption ranges from Information Leak to Arbitrary Code Execution depending on how and where `cmark-gfm` is used. If `cmark-gfm` is used for rendering remote user controlled markdown, this vulnerability may lead to Remote Code Execution (RCE) in applications employing affected versions of the `cmark-gfm` library. This vulnerability has been patched in the following cmark-gfm versions 0.29.0.gfm.3 and 0.28.3.gfm.21. A workaround is available. The vulnerability exists in the table markdown extensions of cmark-gfm. Disabling the table extension will prevent this vulnerability from being triggered.

SUSE information

Overall state of this security issue: Does not affect SUSE products

This issue is currently rated as having critical severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 7.5
Vector AV:N/AC:L/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Low
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 9.8
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1196742 [NEW]

No SUSE Security Announcements cross referenced.

List of released packages

Product(s) Fixed package version(s) References
SUSE Liberty Linux 8
  • pandoc >= 2.0.6-6.el8_6
  • pandoc-common >= 2.0.6-6.el8_6
Patchnames:
RHSA-2022:5597


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP6 cmark Analysis
SUSE Linux Enterprise Desktop 15 SP7 cmark Analysis
SUSE Linux Enterprise High Performance Computing 15 SP6 cmark Analysis
SUSE Linux Enterprise High Performance Computing 15 SP7 cmark Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP6 cmark Analysis
SUSE Linux Enterprise Module for Basesystem 15 SP7 cmark Analysis
SUSE Linux Enterprise Module for Package Hub 15 SP5 cmark Analysis
SUSE Linux Enterprise Module for Package Hub 15 SP6 cmark Analysis
SUSE Linux Enterprise Module for Package Hub 15 SP7 cmark Analysis
SUSE Linux Enterprise Server 15 SP6 cmark Analysis
SUSE Linux Enterprise Server 15 SP7 cmark Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP6 cmark Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP7 cmark Analysis
SUSE Manager Proxy 4.3 cmark Analysis
SUSE Manager Retail Branch Server 4.3 cmark Analysis
SUSE Manager Server 4.3 cmark Analysis
openSUSE Leap 15.6 cmark Analysis
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP4 cmark Analysis
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS cmark Analysis
SUSE Linux Enterprise High Performance Computing 15 SP5 cmark Analysis
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS cmark Analysis
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS cmark Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP4 cmark Analysis
SUSE Linux Enterprise Module for Development Tools 15 SP5 cmark Analysis
SUSE Linux Enterprise Server 15 SP4 cmark Analysis
SUSE Linux Enterprise Server 15 SP4-LTSS cmark Analysis
SUSE Linux Enterprise Server 15 SP5 cmark Analysis
SUSE Linux Enterprise Server 15 SP5-LTSS cmark Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP4 cmark Analysis
SUSE Linux Enterprise Server for SAP Applications 15 SP5 cmark Analysis
Products past their end of life and not receiving proactive updates anymore.
SUSE Linux Enterprise Desktop 15 SP4 cmark Analysis
SUSE Linux Enterprise Desktop 15 SP5 cmark Analysis
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS cmark Analysis
SUSE Linux Enterprise Module for Package Hub 15 SP4 cmark Analysis
SUSE Linux Enterprise Real Time 15 SP4 cmark Analysis
openSUSE Leap 15.4 cmark Analysis
openSUSE Leap 15.5 cmark Analysis


SUSE Timeline for this CVE

CVE page created: Fri Mar 4 01:00:37 2022
CVE page last modified: Wed Apr 30 14:33:02 2025