CVSS 3.1
9.8 criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HCritical (9.8). EPSS 2.7% estimated probability of exploitation activity in the next 30 days. Fixed in kramdown 2.3.1.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:Hkramdown (RubyGems): fixed in 2.3.1Explain CVE-2021-28834 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-28834?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-28834?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-28834 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| kramdown_project:kramdown | before 2.3.1 |
| fedoraproject:fedora | 32 |
| fedoraproject:fedora | 33 |
| fedoraproject:fedora | 34 |
| debian:debian_linux | 10.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-52p9-v744-mwjj | RubyGems | kramdown | >=1.16.0 <2.3.1 | 2.3.1 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 10 | ruby-kramdown | 1.17.0-1+deb10u2 | DSA-4890-1 |
| Debian | 12, 13, 14 | ruby-kramdown | 2.3.0-5 | DEBIAN-CVE-2021-28834 |
| Ubuntu | 20.04:LTS | ruby-kramdown | 1.17.0-4ubuntu0.2 | UBUNTU-CVE-2021-28834 USN-6424-1 |
| openSUSE | Tumbleweed | ruby3.2-rubygem-kramdown | 2.4.0-1.8 | openSUSE-SU-2024:13161-1 |
| openSUSE | Tumbleweed | rubygem-kramdown | 2.4.0-1.1 | openSUSE-SU-2024:12038-1 |
| openSUSE | Tumbleweed | rubygem-kramdown | 2.4.0-1.12 | openSUSE-SU-2024:14170-1 |
| openSUSE | Tumbleweed | rubygem-kramdown | 2.4.0-1.15 | openSUSE-SU-2025:15119-1 |
| openSUSE | Tumbleweed | rubygem-kramdown | 2.4.0-1.17 | openSUSE-SU-2026:10352-1 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE.
Red Hat rates this Moderate.
Red Hat supported products are not affected by this flaw because they do not ship rubygem-kramdown.
Developers using rubygem-kramdown: Do not pass user or external input into custom Rouge formatter selection logic.
All other users/system administrators: There is no known mitigation at this time.
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-28834.