{"id":"CVE-2021-28834","published":"2021-03-19T06:51:15Z","modified":"2024-08-03T21:55:11Z","title":"Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary…","vendor":null,"product":null,"tier":"tail","description":{"text":"Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02695,"percentile":0.86261,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/gettalong/kramdown/pull/708","tags":["x_refsource_MISC"]},{"url":"https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66","tags":["x_refsource_MISC"]},{"url":"https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S3BBLUIDCUUR3NEE4NJLOCCAV3ALQ3O6/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYOLQKFL6IJCQLBXV34Z4TI4O54GESPR/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJCJVYHPY6LNUFM6LYZIAUIYOMVT5QGV/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.debian.org/security/2021/dsa-4890","tags":["vendor-advisory","x_refsource_DEBIAN"]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":17.25}]},"affected":[{"ecosystem":"RubyGems","package":"kramdown","vulnerableRanges":[">=1.16.0, <2.3.1"],"patched":["2.3.1"],"from":["GHSA-52p9-v744-mwjj"],"provenance":"source"}],"summary":{"text":"The flaw lies in Kramdown, a Ruby Markdown parser, in versions before 2.3.1, where Rouge formatters are not restricted to the Rouge::Formatters namespace.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:24Z"},"euvd":{"id":"EUVD-2021-0603","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2020-14001","published":"2020-07-17","fixed":"2.3.0","kev":false,"link":{"from":"CVE-2020-14001","to":"CVE-2021-28834","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:kramdown","fromFixed":"2.3.0","toFixed":"2.3.1","daysApart":245}]}},{"cve":"CVE-2021-28834","published":"2021-03-19","fixed":"2.3.1","kev":false}],"package":"RubyGems:kramdown"}}