← Übersicht Red Hat Enterprise Linux

Integer overflow in table parsing extension leads to heap memory corruption

CVE-2022-24724 · ALSA-2022:5597 · DEBIAN-CVE-2022-24724 · RHSA-2022:5597 · RLSA-2022:5597 · UBUNTU-CVE-2022-24724 · WID-SEC-W-2022-0717

Kritisch · CVSS 9.8 BSI: hochSUSE: criticalUbuntu: mediumRed Hat: Important Netzwerk · ohne Login Fix verfügbar

Veröffentlicht
03.03.2022
Zuletzt geändert
18.11.2026
EPSS (30 Tage)
4.5 %
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Beschreibung

Originaltext der Quelle, nicht übersetzt.

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.

Status beim Hersteller

SUSE stuft seine Produktlinien ein: 2 betroffen, 2 behoben.

RESF Rocky Linux Betroffen
Red Hat Enterprise Linux 8 Betroffen
Red Hat Enterprise Linux CRB (v. 8) Behoben pandoc-2.0.6-6.el8_6 RHSA-2022:5597
SUSE Liberty Linux 8 Behoben pandoc-2.0.6-6.el8_6, pandoc-common-2.0.6-6.el8_6
SUSE Liberty Linux 8 Behoben pandoc-2.0.6-6.el8_6

Betroffene Pakete im beobachteten Stack

Red Hat:enterprise_linux:8::crbpandoc0:2.0.6-6.el8_6CVE-2022-24724
Red Hat:enterprise_linux:8::crbpandoc0:2.0.6-6.el8_6RHSA-2022:5597
Red Hat:enterprise_linux:8::crbpandoc-common0:2.0.6-6.el8_6RHSA-2022:5597
Weitere betroffene Pakete (23)
AlmaLinux:8pandoc2.0.6-6.el8_6ALSA-2022:5597
AlmaLinux:8pandoc-common2.0.6-6.el8_6ALSA-2022:5597
CRANcommonmark0.2 → 1.8RSEC-2023-7
CVEgithub/cmark-gfmkein Fix bekanntCVE-2022-24724
Debian:12cmark-gfm0.29.0.gfm.3-3DEBIAN-CVE-2022-24724
Debian:12ghostwriter2.1.6+ds-1DEBIAN-CVE-2022-24724
Debian:12python-cmarkgfm0.7.0-1DEBIAN-CVE-2022-24724
Debian:12r-cran-commonmark1.8.0-1DEBIAN-CVE-2022-24724
Debian:12ruby-commonmarker0.23.4-1DEBIAN-CVE-2022-24724
Debian:13cmark-gfm0.29.0.gfm.3-3DEBIAN-CVE-2022-24724
Debian:13ghostwriter2.1.6+ds-1DEBIAN-CVE-2022-24724
Debian:13python-cmarkgfm0.7.0-1DEBIAN-CVE-2022-24724
Debian:13r-cran-commonmark1.8.0-1DEBIAN-CVE-2022-24724
Debian:13ruby-commonmarker0.23.4-1DEBIAN-CVE-2022-24724
Debian:14cmark-gfm0.29.0.gfm.3-3DEBIAN-CVE-2022-24724
Debian:14ghostwriter2.1.6+ds-1DEBIAN-CVE-2022-24724
Debian:14python-cmarkgfm0.7.0-1DEBIAN-CVE-2022-24724
Debian:14r-cran-commonmark1.8.0-1DEBIAN-CVE-2022-24724
Debian:14ruby-commonmarker0.23.4-1DEBIAN-CVE-2022-24724
NVDfedoraproject:fedorakein Fix bekanntCVE-2022-24724
NVDgithub:cmark-gfm0.28.3.gfm.21, 0.28.3.gfm.21 → 0.29.0.gfm.3CVE-2022-24724
Rocky Linux:8pandoc0:2.0.6-6.el8_6RLSA-2022:5597
Ubuntu:Pro:20.04:LTScmark-gfmkein Fix bekanntUBUNTU-CVE-2022-24724

Empfohlene Prüfung

  1. Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
  2. Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
  3. Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · ohne Login) ist aus dem CVSS-Vektor abgeleitet.

Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.

Referenzen