原始 OSV JSON
{
"id": "GHSA-52p9-v744-mwjj",
"aliases": [
"CVE-2021-28834"
],
"details": "Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.",
"summary": "Remote code execution in Kramdown",
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.16.0"
},
{
"fixed": "2.3.1"
}
]
}
],
"package": {
"name": "kramdown",
"ecosystem": "RubyGems"
}
}
],
"modified": "2021-03-31T20:25:55Z",
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"published": "2021-03-29T16:30:34Z",
"references": [
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2021-28834",
"type": "ADVISORY"
},
{
"url": "https://github.com/gettalong/kramdown/pull/708",
"type": "WEB"
},
{
"url": "https://github.com/stanhu/kramdown/commit/d6a1cbcb2caa2f8a70927f176070d126b2422760",
"type": "WEB"
},
{
"url": "https://github.com/stanhu/kramdown/commit/ff0218aefcf00cd5a389e17e075d36cd46d011e2",
"type": "WEB"
},
{
"url": "https://about.gitlab.com/releases/2021/03/17/security-release-gitlab-13-9-4-released/#remote-code-execution-via-unsafe-user-controlled-markdown-rendering-options",
"type": "WEB"
},
{
"url": "https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1",
"type": "WEB"
},
{
"url": "https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/NJCJVYHPY6LNUFM6LYZIAUIYOMVT5QGV",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/S3BBLUIDCUUR3NEE4NJLOCCAV3ALQ3O6",
"type": "WEB"
},
{
"url": "https://lists.fedoraproject.org/archives/list/[email protected]/message/SYOLQKFL6IJCQLBXV34Z4TI4O54GESPR",
"type": "WEB"
},
{
"url": "https://www.debian.org/security/2021/dsa-4890",
"type": "WEB"
}
],
"schema_version": "1.4.0",
"database_specific": {
"cwe_ids": [
"CWE-94"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2021-03-19T07:15:00Z",
"github_reviewed_at": "2021-03-22T20:16:56Z"
}
}