CVE-2021-28834
CRITICALkramdown < 2.3.1 - Arbitrary Class Instantiation via Rouge Formatter
Title source: llmDescription
Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
References (7)
Core 7
Core References
Exploit, Third Party Advisory x_refsource_misc
https://github.com/gettalong/kramdown/pull/708
Patch, Third Party Advisory x_refsource_misc
https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66
Patch, Third Party Advisory x_refsource_misc
https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S3BBLUIDCUUR3NEE4NJLOCCAV3ALQ3O6/
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYOLQKFL6IJCQLBXV34Z4TI4O54GESPR/
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJCJVYHPY6LNUFM6LYZIAUIYOMVT5QGV/
Third Party Advisory vendor-advisory
x_refsource_debian
https://www.debian.org/security/2021/dsa-4890
Scores
CVSS v3
9.8
EPSS
0.0259
EPSS Percentile
85.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
Status
published
Products (6)
debian/debian_linux
10.0
fedoraproject/fedora
32
fedoraproject/fedora
33
fedoraproject/fedora
34
kramdown_project/kramdown
< 2.3.1
rubygems/kramdown
1.16.0 - 2.3.1RubyGems
Published
Mar 19, 2021
Tracked Since
Feb 18, 2026