CVE-2021-28834

CRITICAL

kramdown < 2.3.1 - Arbitrary Class Instantiation via Rouge Formatter

Title source: llm
STIX 2.1

Description

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://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1
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