RSEC-2023-7
JSON

Not scored

Denial of Service (DoS) and Arbitrary Code Execution (ACE) vulnerabilities

Severity
Not scored
Published
Last changed

Description

cmark-gfm, GitHub's extended CommonMark library, has multiple vulnerabilities. Versions prior to 0.29.0.gfm.6 suffer from a polynomial time complexity issue in the autolink extension, causing denial of service. Also, versions before 0.29.0.gfm.3 and 0.28.3.gfm.21 contain an integer overflow in table row parsing, leading to heap corruption and potential Arbitrary Code Execution. Patches are available in versions 0.29.0.gfm.6, 0.29.0.gfm.3, and 0.28.3.gfm.21. Mitigations include upgrading or disabling affected extensions.

Affected

Product or packageVersionsReported by
commonmark (CRAN)from 0.2 before 1.8R Consortium Advisory Database

References

Related

Sources

SourceRecordLicence
R Consortium Advisory DatabaseRSEC-2023-7 changed 2025-05-19Apache-2.0