Vulnerability · Published Mar 19, 2021 · Assigned by mitre

CVE-2021-28834

Critical 9.8

In plain English

A critical-severity security flaw in the ruby-kramdown package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.7% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)9.8Critical
Exploit odds (30 days)2.7%top 14.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12ruby-kramdown2.3.0-5DEBIAN-CVE-2021-28834
Debian:13ruby-kramdown2.3.0-5DEBIAN-CVE-2021-28834
Debian:14ruby-kramdown2.3.0-5DEBIAN-CVE-2021-28834
RubyGemskramdown2.3.1GHSA-52p9-v744-mwjj

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

References