CVE-2021-28834

rubygem-kramdown: allows arbitrary classes to be instantiated

Published Mar 19, 2021 CVSS 3.1 · 9.8 Critical EPSS 2.7% KEV · Not listed
Description
Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-4890-1 ruby-kramdown security update
EUVD EUVD EUVD-2021-0603 Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
Github GHSA Github GHSA GHSA-52p9-v744-mwjj Remote code execution in Kramdown
Ubuntu USN Ubuntu USN USN-6424-1 kramdown vulnerability
Weaknesses
  • CWE-470

    Use of Externally-Controlled Input to Select Classes or Code ('Unsafe Reflection')

  • NVD-CWE-noinfo

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 3, 2024, 9:55 PM
Reserved
Mar 19, 2021, 12:00 AM
Status
Modified
Published
Mar 19, 2021, 7:15 AM
Modified
Jun 17, 2026, 3:46 AM
Severity
Moderate
Public date
Mar 14, 2021, 12:00 AM