Vulnerability Description
Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Kramdown Project | Kramdown | < 2.3.1 |
| Fedoraproject | Fedora | 32 |
| Debian | Debian Linux | 10.0 |
References
- https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1PatchThird Party Advisory
- https://github.com/gettalong/kramdown/pull/708ExploitThird Party Advisory
- https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4edPatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://www.debian.org/security/2021/dsa-4890Third Party Advisory
- https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1PatchThird Party Advisory
- https://github.com/gettalong/kramdown/pull/708ExploitThird Party Advisory
- https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4edPatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://www.debian.org/security/2021/dsa-4890Third Party Advisory
FAQ
What is CVE-2021-28834?
CVE-2021-28834 is a vulnerability with a CVSS score of 9.8 (CRITICAL). Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
How severe is CVE-2021-28834?
CVE-2021-28834 has been rated CRITICAL with a CVSS base score of 9.8/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-28834?
Check the references section above for vendor advisories and patch information. Affected products include: Kramdown Project Kramdown, Fedoraproject Fedora, Debian Debian Linux.