{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2020-5238",
        "STATE": "PUBLIC",
        "TITLE": "Denial of service in table parsing in cmark-gfm"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "cmark-gfm",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 0.29.0.gfm.1"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "github"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "The table extension in GitHub Flavored Markdown before version 0.29.0.gfm.1 takes O(n * n) time to parse certain inputs. An attacker could craft a markdown table which would take an unreasonably long time to process, causing a denial of service. This issue does not affect the upstream cmark project. The issue has been fixed in version 0.29.0.gfm.1."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "HIGH",
            "baseScore": 6.5,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-20: Improper Input Validation"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85",
                "refsource": "CONFIRM",
                "url": "https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85"
            },
            {
                "name": "https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4",
                "refsource": "MISC",
                "url": "https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2020-c39d7a562c",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TCDHBTUFIOYRIS5HAS6PZNBNMB7IOAX3/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2020-1eaffe0013",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZGJH2A4VAV54X6NSCNNGSEIGIIY5N2VR/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2020-fe299b3fa3",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WMQFOQQCWOAMQ4I2XIVCVOXXIJ75HDCW/"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-7gc6-9qr5-hc85",
        "discovery": "UNKNOWN"
    }
}