Vulnerability Name: | CVE-2022-24724 (CCN-220980) | ||||||||||||||||||
Assigned: | 2022-03-03 | ||||||||||||||||||
Published: | 2022-03-03 | ||||||||||||||||||
Updated: | 2022-04-18 | ||||||||||||||||||
Summary: | 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. | ||||||||||||||||||
CVSS v3 Severity: | 9.8 Critical (CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H) 8.8 High (Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C)
7.9 High (CCN Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C)
7.9 High (REDHAT Temporal CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:P/RL:O/RC:C)
| ||||||||||||||||||
CVSS v2 Severity: | 7.5 High (CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
| ||||||||||||||||||
Vulnerability Type: | CWE-190 | ||||||||||||||||||
Vulnerability Consequences: | Gain Access | ||||||||||||||||||
References: | Source: MITRE Type: CNA CVE-2022-24724 Source: MISC Type: Exploit, Third Party Advisory http://packetstormsecurity.com/files/166599/cmark-gfm-Integer-overflow.html Source: XF Type: UNKNOWN cmarkgfm-cve202224724-bo(220980) Source: CCN Type: cmark-gfm GIT Repository Integer overflow in table parsing extension leads to heap memory corruption Source: CONFIRM Type: Third Party Advisory https://github.com/github/cmark-gfm/security/advisories/GHSA-mc3g-88wq-6f4x Source: FEDORA Type: Third Party Advisory FEDORA-2022-c42d02e5e5 Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2022-bc43bafcfd Source: FEDORA Type: Third Party Advisory FEDORA-2022-1f981071eb Source: FEDORA Type: Third Party Advisory FEDORA-2022-79b9a59e3b Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2022-725edc74c0 Source: FEDORA Type: Mailing List, Third Party Advisory FEDORA-2022-557ad15f2e Source: CCN Type: Packet Storm Security [04-06-2022] cmark-gfm Integer overflow | ||||||||||||||||||
Vulnerable Configuration: | Configuration 1: Configuration 2: Configuration RedHat 1: Configuration RedHat 2: ![]() | ||||||||||||||||||
Oval Definitions | |||||||||||||||||||
| |||||||||||||||||||
BACK |