UBUNTU-CVE-2022-39209

    Dashboard / Vulnerabilities / UBUNTU-CVE-2022-39209

    UBUNTU-CVE-2022-39209

    Published: 15 Sept 2022Last Modified: 22 Apr 2026
    Upstream:
    Aliases:

    Summary:

    Details: cmark-gfm is GitHub's fork of cmark, a CommonMark parsing and rendering library and program in C. In versions prior to 0.29.0.gfm.6 a polynomial time complexity issue in cmark-gfm's autolink extension may lead to unbounded resource exhaustion and subsequent denial of service. Users may verify the patch by running `python3 -c 'print("![l"* 100000 + "\n")' | ./cmark-gfm -e autolink`, which will resource exhaust on unpatched cmark-gfm but render correctly on patched cmark-gfm. This vulnerability has been patched in 0.29.0.gfm.6. Users are advised to upgrade. Users unable to upgrade should disable the use of the autolink extension.

    Affected packages

    Package

    Name: cmark-gfm

    Purl: pkg:deb/ubuntu/[email protected]~esm1?arch=source&distro=esm-apps/focal

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -0.29.0.gfm.0-4ubuntu0.1~esm1

    Affected versions

    0.28.3.gfm.20-3

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2022-39209 | CVE-DB