CVE-2021-28834

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.
NVD Severity
high
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
Exploit https://github.com/gettalong/kramdown/pull/708
Patch https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1
Patch https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66
Third Party Advisory https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S3BBLUIDCUUR3NEE4NJLOCCAV3ALQ3O6/
Third Party Advisory https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SYOLQKFL6IJCQLBXV34Z4TI4O54GESPR/
Third Party Advisory https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NJCJVYHPY6LNUFM6LYZIAUIYOMVT5QGV/
Third Party Advisory https://www.debian.org/security/2021/dsa-4890

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:kramdown_project:kramdown:*:*:*:*:*:ruby:*:* ruby-kramdown >= None < 2.3.1

Vulnerable and fixed packages

Source package Branch Version Maintainer Status