Vulnerability
CVE-2021-28834
Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
11 advisories report this vulnerability, across 5 ecosystems.
Advisories
-
DEBIAN-CVE-2021-28834
Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
-
DSA-4890-1
ruby-kramdown - security update
-
GHSA-52p9-v744-mwjj
Remote code execution in Kramdown
-
OESA-2021-1159
rubygem-kramdown security update
-
UBUNTU-CVE-2021-28834
Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
-
USN-6424-1
ruby-kramdown vulnerability
-
openSUSE-SU-2024:12038-1
ruby3.1-rubygem-kramdown-2.4.0-1.1 on GA media
-
openSUSE-SU-2024:13161-1
ruby3.2-rubygem-kramdown-2.4.0-1.8 on GA media
-
openSUSE-SU-2024:14170-1
ruby3.3-rubygem-kramdown-2.4.0-1.12 on GA media
-
openSUSE-SU-2025:15119-1
ruby3.4-rubygem-kramdown-2.4.0-1.15 on GA media
-
openSUSE-SU-2026:10352-1
ruby4.0-rubygem-kramdown-2.4.0-1.17 on GA media
References
- https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1
- https://github.com/gettalong/kramdown/pull/708
- https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJCJVYHPY6LNUFM6LYZIAUIYOMVT5QGV/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S3BBLUIDCUUR3NEE4NJLOCCAV3ALQ3O6/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYOLQKFL6IJCQLBXV34Z4TI4O54GESPR/
- https://www.debian.org/security/2021/dsa-4890