CVE-2021-28834
Kramdown Project Kramdown vulnerability
Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Kramdown, Fedora, Debian Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Kramdown Project Kramdown runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1 · Patch
- gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66 · Patch
- github.com/gettalong/kramdown/pull/708 · Exploit
- www.debian.org/security/2021/dsa-4890 · Third Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S
- nvd.nist.gov/vuln/detail/CVE-2021-28834
- cve.org/CVERecord?id=CVE-2021-28834
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.