Schwachstellen / CVE-2022-24724

kritisch

CVE-2022-24724

cmark-gfm: possible RCE due to integer overflow

Veröffentlicht Geändert CWE 190
In der Trivy Database seit spätestens 24. Okt. 2026, 07:11 UTCWann der Eintrag vor diesem Build hinzukam, ist nicht erfasst.

Einstufung nach Quelle

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat8.8CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Trivys eigenes Label ist CRITICAL. Kritisch laut NVD. Niedriger laut Red Hat (hoch), AlmaLinux (hoch).

Beschreibung

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.

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
alma 8pandoc, pandoc-common2.0.6-6.el8_6
debian 10cmark-gfm, python-cmarkgfm, r-cran-commonmark und 1 weiterekein Fix angegeben
debian 11cmark-gfm, python-cmarkgfm, r-cran-commonmark und 1 weiterekein Fix angegeben
debian 12cmark-gfm, ghostwriter, python-cmarkgfm und 2 weitere0.29.0.gfm.3-3 und 4 weitere
debian 13cmark-gfm, ghostwriter, python-cmarkgfm und 2 weitere0.29.0.gfm.3-3 und 4 weitere
debian 14cmark-gfm, ghostwriter, python-cmarkgfm und 2 weitere0.29.0.gfm.3-3 und 4 weitere
echocmark-gfm, ghostwriter, python-cmarkgfm und 2 weitere0.29.0.gfm.3-3 und 4 weitere
Alle 30 Einträge aus 7 Quellen zeigen
QuellePaketBehoben in
alma 8pandoc2.0.6-6.el8_6
alma 8pandoc-common2.0.6-6.el8_6
debian 10cmark-gfmkein Fix angegeben
debian 10python-cmarkgfmkein Fix angegeben
debian 10r-cran-commonmarkkein Fix angegeben
debian 10ruby-commonmarkerkein Fix angegeben
debian 11cmark-gfmkein Fix angegeben
debian 11python-cmarkgfmkein Fix angegeben
debian 11r-cran-commonmarkkein Fix angegeben
debian 11ruby-commonmarkerkein Fix angegeben
debian 12cmark-gfm0.29.0.gfm.3-3
debian 12ghostwriter2.1.6+ds-1
debian 12python-cmarkgfm0.7.0-1
debian 12r-cran-commonmark1.8.0-1
debian 12ruby-commonmarker0.23.4-1
debian 13cmark-gfm0.29.0.gfm.3-3
debian 13ghostwriter2.1.6+ds-1
debian 13python-cmarkgfm0.7.0-1
debian 13r-cran-commonmark1.8.0-1
debian 13ruby-commonmarker0.23.4-1
debian 14cmark-gfm0.29.0.gfm.3-3
debian 14ghostwriter2.1.6+ds-1
debian 14python-cmarkgfm0.7.0-1
debian 14r-cran-commonmark1.8.0-1
debian 14ruby-commonmarker0.23.4-1
echocmark-gfm0.29.0.gfm.3-3
echoghostwriter2.1.6+ds-1
echopython-cmarkgfm0.7.0-1
echor-cran-commonmark1.8.0-1
echoruby-commonmarker0.23.4-1

Referenzen

Alle 14 Referenzen

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.