GHSA-MQM2-CGPR-P4M6
Vulnerability from github – Published: 2020-08-07 22:27 – Updated: 2022-04-29 20:26
VLAI?
Summary
Unintended read access in kramdown gem
Details
The kramdown gem before 2.3.0 for Ruby processes the template option inside Kramdown documents by default, which allows unintended read access (such as template="/etc/passwd") or unintended embedded Ruby code execution (such as a string that begins with template="string://<%= `). NOTE: kramdown is used in Jekyll, GitLab Pages, GitHub Pages, and Thredded Forum.
Severity ?
9.8 (Critical)
{
"affected": [
{
"package": {
"ecosystem": "RubyGems",
"name": "kramdown"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2020-14001"
],
"database_specific": {
"cwe_ids": [
"CWE-862"
],
"github_reviewed": true,
"github_reviewed_at": "2020-08-07T22:27:22Z",
"nvd_published_at": "2020-07-17T16:15:00Z",
"severity": "CRITICAL"
},
"details": "The kramdown gem before 2.3.0 for Ruby processes the template option inside Kramdown documents by default, which allows unintended read access (such as template=\"/etc/passwd\") or unintended embedded Ruby code execution (such as a string that begins with template=\"string://\u003c%= `). NOTE: kramdown is used in Jekyll, GitLab Pages, GitHub Pages, and Thredded Forum.",
"id": "GHSA-mqm2-cgpr-p4m6",
"modified": "2022-04-29T20:26:19Z",
"published": "2020-08-07T22:27:41Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2020-14001"
},
{
"type": "WEB",
"url": "https://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde"
},
{
"type": "ADVISORY",
"url": "https://github.com/advisories/GHSA-mqm2-cgpr-p4m6"
},
{
"type": "PACKAGE",
"url": "https://github.com/gettalong/kramdown"
},
{
"type": "WEB",
"url": "https://github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0"
},
{
"type": "WEB",
"url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/kramdown/CVE-2020-14001.yml"
},
{
"type": "WEB",
"url": "https://kramdown.gettalong.org"
},
{
"type": "WEB",
"url": "https://kramdown.gettalong.org/news.html"
},
{
"type": "WEB",
"url": "https://lists.apache.org/thread.html/r96df7899fbb456fe2705882f710a0c8e8614b573fbffd8d12e3f54d2@%3Cnotifications.fluo.apache.org%3E"
},
{
"type": "WEB",
"url": "https://lists.debian.org/debian-lts-announce/2020/08/msg00014.html"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ENMMGKHRQIZ3QKGOMBBBGB6B4LB5I7NQ"
},
{
"type": "WEB",
"url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KBLTGBYU7NKOUOHDKVCU4GFZMGA6BP4L"
},
{
"type": "WEB",
"url": "https://rubygems.org/gems/kramdown"
},
{
"type": "WEB",
"url": "https://security.netapp.com/advisory/ntap-20200731-0004"
},
{
"type": "WEB",
"url": "https://usn.ubuntu.com/4562-1"
},
{
"type": "WEB",
"url": "https://www.debian.org/security/2020/dsa-4743"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"summary": "Unintended read access in kramdown gem"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
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…