CVE-2021-28834
Critical
Description
Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
SeverityCritical
CVSS9.8
Exploit probability—
Product
Kramdown
PublishedMar 19, 2021
First seenMar 19, 2021
How to fix
Update
- kramdown_project kramdown2.3.1 or later
Vendor advisories
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S3BBLUIDCUUR3NEE4NJLOCCAV3ALQ3O6/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYOLQKFL6IJCQLBXV34Z4TI4O54GESPR/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJCJVYHPY6LNUFM6LYZIAUIYOMVT5QGV/
- debian.org/security/2021/dsa-4890
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| kramdown_project kramdown | v < 2.3.1 | 2.3.1 |
| fedoraproject fedora | 32, 33, 34 | — |
| debian debian_linux | 10.0 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.