CVE-2022-24724

Summary

CVECVE-2022-24724
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-03-03 20:15:00 UTC
Updated2023-11-07 03:44:00 UTC
Descriptioncmark-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.

Risk And Classification

Problem Types: CWE-190

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Application Github Cmark-gfm All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 36 Update: ghc-cmark-gfm-0.2.3-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 35 Update: ghc-cmark-gfm-0.2.3-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 36 Update: ghostwriter-2.1.2-1.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 35 Update: ghostwriter-2.1.2-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 34 Update: pandoc-citeproc-0.17.0.1-5.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 35 Update: ghc-cmark-gfm-0.2.3-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 35 Update: ghostwriter-2.1.2-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 34 Update: ghostwriter-2.1.2-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 34 Update: ghostwriter-2.1.2-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 36 Update: ghc-cmark-gfm-0.2.3-1.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
github.com/github/cmark-gfm/security/advisories/GHSA-mc3g-88wq-6f4x CONFIRM github.com
cmark-gfm Integer overflow ≈ Packet Storm MISC packetstormsecurity.com
[SECURITY] Fedora 34 Update: pandoc-citeproc-0.17.0.1-5.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 36 Update: ghostwriter-2.1.2-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 184700 Debian Security Update for ruby-commonmarkercmark-gfmghostwriterpython-cmarkgfmr-cran-commonmark (CVE-2022-24724)
  • 282505 Fedora Security Update for ghostwriter (FEDORA-2022-725edc74c0)
  • 282506 Fedora Security Update for ghostwriter (FEDORA-2022-557ad15f2e)
  • 282507 Fedora Security Update for ghc (FEDORA-2022-bc43bafcfd)
  • 282549 Fedora Security Update for ghc (FEDORA-2022-1f981071eb)
  • 940595 AlmaLinux Security Update for pandoc (ALSA-2022:5597)
  • 960285 Rocky Linux Security Update for pandoc (RLSA-2022:5597)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report