CVE-2020-5238

Source
https://cve.org/CVERecord?id=CVE-2020-5238
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5238.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2020-5238
Aliases
  • GHSA-7gc6-9qr5-hc85
Downstream
Related
Published
2020-07-01T23:15:10Z
Modified
2026-07-08T05:59:23Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

Database specific
{
    "unresolved_ranges":  [
        {
            "cpes":  [
                "cpe:2.3:o:fedoraproject:fedora:31:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*",
                "cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
            ],
            "extracted_events":  [
                {
                    "introduced":  "31"
                },
                {
                    "last_affected":  "31"
                },
                {
                    "introduced":  "32"
                },
                {
                    "last_affected":  "32"
                },
                {
                    "introduced":  "33"
                },
                {
                    "last_affected":  "33"
                }
            ],
            "source":  "CPE_STRING",
            "vendor_product":  "fedoraproject:fedora"
        }
    ]
}
References

Affected packages

Git / github.com/github/cmark-gfm

Affected ranges

Type
GIT
Repo
https://github.com/github/cmark-gfm
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "cpe":  "cpe:2.3:a:github_flavored_markdown_project:github_flavored_markdown:*:*:*:*:*:*:*:*",
    "extracted_events":  [
        {
            "introduced":  "0"
        },
        {
            "fixed":  "0.29.0.gfm.1"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

0.*
0.27.1.gfm.2
0.27.1.gfm.3
0.27.1.gfm.4
0.28.0.gfm.10
0.28.0.gfm.11
0.28.0.gfm.5
0.28.0.gfm.6
0.28.0.gfm.7
0.28.0.gfm.8
0.28.0.gfm.9
0.28.3.gfm.12
0.28.3.gfm.13
0.28.3.gfm.14
0.28.3.gfm.15
0.28.3.gfm.16
0.28.3.gfm.17
0.28.3.gfm.18
0.28.3.gfm.19
0.28.3.gfm.20
0.29.0.gfm.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-5238.json"