CVE-2021-28834Unsafe Reflection in Project Kramdown

Severity
9.8CRITICALNVD
EPSS
2.6%
top 14.39%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 19
Latest updateOct 10

Description

Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitability: 3.9 | Impact: 5.9

Affected Packages2 packages

RubyGemskramdown_project/kramdown1.16.02.3.1

Also affects: Debian Linux 10.0, Fedora 32, 33, 34

Patches

🔴Vulnerability Details

4
GHSA
Remote code execution in Kramdown2021-03-29
OSV
Remote code execution in Kramdown2021-03-29
CVEList
CVE-2021-28834: Kramdown before 22021-03-19
OSV
CVE-2021-28834: Kramdown before 22021-03-19

📋Vendor Advisories

3
Ubuntu
kramdown vulnerability2023-10-10
Red Hat
rubygem-kramdown: allows arbitrary classes to be instantiated2021-03-14
Debian
CVE-2021-28834: ruby-kramdown - Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatter...2021
CVE-2021-28834 — Unsafe Reflection in Project Kramdown | cvebase