CVE-2021-28834

NameCVE-2021-28834
DescriptionKramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-4890-1
NVD severitymedium
Debian Bugs985569

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-kramdown (PTS)stretch1.12.0-1vulnerable
stretch (security)1.12.0-1+deb9u1vulnerable
buster1.17.0-1+deb10u1vulnerable
buster (security)1.17.0-1+deb10u2fixed
bullseye, sid2.3.0-5fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-kramdownsourcebuster1.17.0-1+deb10u2DSA-4890-1
ruby-kramdownsource(unstable)2.3.0-5985569

Notes

https://github.com/gettalong/kramdown/pull/708
Fixed by: https://github.com/gettalong/kramdown/commit/d6a1cbcb2caa2f8a70927f176070d126b2422760

Search for package or bug name: Reporting problems