CVEfocus › CVE database › CVE-2021-28834

CVE-2021-28834

CVSS 9.8 CriticalEPSS 2.7% (higher than 87% of CVEs)Published 2021-03-19Updated 2024-08-03Assigner: mitre

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

What to do

Fixed builds are available from Debian, RubyGems, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

5Fixed
4Fix pending
3Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 22.04ruby-kramdownNot affected
vulnerable_code_not_present
Ubuntu 22.04ruby-kramdown-rfc2629Not affected
vulnerable_code_not_present
Ubuntu 20.04ruby-kramdownFixed1.17.0-4ubuntu0.2UBUNTU-CVE-2021-28834
Ubuntu 20.04ruby-kramdown-rfc2629Not affected
vulnerable_code_not_present
Ubuntu 18.04ruby-kramdown-rfc2629Fix pending
Ubuntu 16.04ruby-kramdownFix pending
Ubuntu 16.04ruby-kramdown-rfc2629Fix pending
Ubuntu 14.04ruby-kramdownFix pending
Debian 14ruby-kramdownFixed2.3.0-5DEBIAN-CVE-2021-28834
Debian 13ruby-kramdownFixed2.3.0-5DEBIAN-CVE-2021-28834
Debian 12ruby-kramdownFixed2.3.0-5DEBIAN-CVE-2021-28834
RubyGems librarykramdownFixed2.3.1GHSA-52p9-v744-mwjj

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.