Name | CVE-2021-28834 |
Description | Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DSA-4890-1 |
Debian Bugs | 985569 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ruby-kramdown (PTS) | bullseye | 2.3.0-5 | fixed |
| bookworm | 2.4.0-2 | fixed |
| sid, trixie | 2.5.1-1 | fixed |
The information below is based on the following data on fixed versions.
Notes
[stretch] - ruby-kramdown <not-affected> (Vulnerable code introduced later)
https://github.com/gettalong/kramdown/pull/708
Fixed by: https://github.com/gettalong/kramdown/commit/d6a1cbcb2caa2f8a70927f176070d126b2422760
Introduced by https://github.com/gettalong/kramdown/commit/ff0218aefcf00cd5a389e17e075d36cd46d011e2 (v1.16)