ubuntu-cve-2020-5238
Vulnerability from osv_ubuntu
Published
2020-07-01 23:15
Modified
2026-05-20 14:51
Summary
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.
Severity
6.5 (Medium)
6.5 (Medium)
N/A (UNKNOWN)
References
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "cmark-gfm",
"binary_version": "0.29.0.gfm.0-4ubuntu0.1~esm1"
},
{
"binary_name": "libcmark-gfm-extensions0",
"binary_version": "0.29.0.gfm.0-4ubuntu0.1~esm1"
},
{
"binary_name": "libcmark-gfm0",
"binary_version": "0.29.0.gfm.0-4ubuntu0.1~esm1"
}
]
},
"package": {
"ecosystem": "Ubuntu:Pro:20.04:LTS",
"name": "cmark-gfm",
"purl": "pkg:deb/ubuntu/cmark-gfm@0.29.0.gfm.0-4ubuntu0.1~esm1?arch=source\u0026distro=esm-apps/focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.28.3.gfm.20-3",
"0.29.0.gfm.0-3",
"0.29.0.gfm.0-4",
"0.29.0.gfm.0-4ubuntu0.1~esm1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libghc-cmark-gfm-prof",
"binary_version": "0.1.8-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "haskell-cmark-gfm",
"purl": "pkg:deb/ubuntu/haskell-cmark-gfm@0.1.8-1build1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.1.8-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-cmarkgfm",
"binary_version": "0.4.2-1build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "python-cmarkgfm",
"purl": "pkg:deb/ubuntu/python-cmarkgfm@0.4.2-1build2?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.4.2-1build1",
"0.4.2-1build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "r-cran-commonmark",
"binary_version": "1.7-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "r-cran-commonmark",
"purl": "pkg:deb/ubuntu/r-cran-commonmark@1.7-1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.7-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "ruby-commonmarker",
"binary_version": "0.20.2-1build1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "ruby-commonmarker",
"purl": "pkg:deb/ubuntu/ruby-commonmarker@0.20.2-1build1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.17.9-1",
"0.20.2-1build1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libghc-cmark-gfm-prof",
"binary_version": "0.2.1+ds1-2build2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "haskell-cmark-gfm",
"purl": "pkg:deb/ubuntu/haskell-cmark-gfm@0.2.1+ds1-2build2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.1+ds1-1build1",
"0.2.1+ds1-2build1",
"0.2.1+ds1-2build2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-cmarkgfm",
"binary_version": "0.8.0-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "python-cmarkgfm",
"purl": "pkg:deb/ubuntu/python-cmarkgfm@0.8.0-1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.4.2-1build3",
"0.4.2-1build5",
"0.8.0-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "r-cran-commonmark",
"binary_version": "1.7-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "r-cran-commonmark",
"purl": "pkg:deb/ubuntu/r-cran-commonmark@1.7-2?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.7-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libghc-cmark-gfm-prof",
"binary_version": "0.2.5+ds1-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "haskell-cmark-gfm",
"purl": "pkg:deb/ubuntu/haskell-cmark-gfm@0.2.5+ds1-2?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.5+ds1-1build2",
"0.2.5+ds1-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-cmarkgfm",
"binary_version": "0.8.0-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "python-cmarkgfm",
"purl": "pkg:deb/ubuntu/python-cmarkgfm@0.8.0-3?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.8.0-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "r-cran-commonmark",
"binary_version": "1.9.1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "r-cran-commonmark",
"purl": "pkg:deb/ubuntu/r-cran-commonmark@1.9.1-1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.0-1",
"1.9.1-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libghc-cmark-gfm-prof",
"binary_version": "0.2.6+ds1-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "haskell-cmark-gfm",
"purl": "pkg:deb/ubuntu/haskell-cmark-gfm@0.2.6+ds1-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.6+ds1-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-cmarkgfm",
"binary_version": "2024.11.20-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "python-cmarkgfm",
"purl": "pkg:deb/ubuntu/python-cmarkgfm@2024.11.20-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.8.0-3",
"2024.11.20-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "r-cran-commonmark",
"binary_version": "1.9.5-1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "r-cran-commonmark",
"purl": "pkg:deb/ubuntu/r-cran-commonmark@1.9.5-1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.5-1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "libghc-cmark-gfm-prof",
"binary_version": "0.2.6+ds1-3"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "haskell-cmark-gfm",
"purl": "pkg:deb/ubuntu/haskell-cmark-gfm@0.2.6+ds1-3?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.2.6+ds1-1",
"0.2.6+ds1-3"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-cmarkgfm",
"binary_version": "2025.10.22-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "python-cmarkgfm",
"purl": "pkg:deb/ubuntu/python-cmarkgfm@2025.10.22-2?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"2024.11.20-1",
"2025.10.22-1",
"2025.10.22-2"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "r-cran-commonmark",
"binary_version": "2.0.0-2"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "r-cran-commonmark",
"purl": "pkg:deb/ubuntu/r-cran-commonmark@2.0.0-2?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"1.9.5-1",
"2.0.0-1",
"2.0.0-2"
]
}
],
"aliases": [],
"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.",
"id": "UBUNTU-CVE-2020-5238",
"modified": "2026-05-20T14:51:56Z",
"published": "2020-07-01T23:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2020-5238"
},
{
"type": "REPORT",
"url": "https://github.com/github/cmark-gfm/security/advisories/GHSA-7gc6-9qr5-hc85"
},
{
"type": "REPORT",
"url": "https://github.com/github/cmark-gfm/commit/85d895289c5ab67f988ca659493a64abb5fec7b4"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2020-5238"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "low",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2020-5238"
]
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…