Read the docs
TI-2021-09825 Aliases CVE-2021-28834GHSA-52p9-v744-mwjj

Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters…

Priority MEDIUM 47CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94.

Summary

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

Why it matters now

EPSS 0.02695 86th percentileScored 2026-11-08
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed kramdown (RubyGems): 2.3.1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—kramdown (RubyGems)1.16.0 to before 2.3.12.3.1Patch availableGHSA-52p9-v744-mwjj
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • kramdown (RubyGems) Vendor— Affected 1.16.0 to before 2.3.1 Fixed in 2.3.1 Patch available GHSA-52p9-v744-mwjj

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:a:kramdown_project:kramdown:*:*:*:*:*:ruby:*:*before 2.3.1VulnerableKramdown Project
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*32VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*33VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:a:kramdown_project:kramdown:*:*:*:*:*:ruby:*:* Versions before 2.3.1 Vulnerable ·Kramdown Project
  • cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-52p9-v744-mwjj kramdown (RubyGems) Fixed in 2.3.1 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-28834
  2. 2026-10-03 Alias added: GHSA-52p9-v744-mwjj

References

Sources