{"id":"UBUNTU-CVE-2021-28834","details":"Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.","modified":"2026-01-30T02:21:02.361777Z","published":"2021-03-19T07:15:00Z","related":["USN-6424-1"],"upstream":["CVE-2021-28834"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-28834"},{"type":"REPORT","url":"https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1"},{"type":"REPORT","url":"https://github.com/gettalong/kramdown/pull/708"},{"type":"REPORT","url":"https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6424-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-28834"}],"affected":[{"package":{"name":"ruby-kramdown","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/ruby-kramdown@1.17.0-4ubuntu0.2?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.17.0-4ubuntu0.2"}]}],"versions":["1.17.0-1","1.17.0-2","1.17.0-4","1.17.0-4ubuntu0.1"],"ecosystem_specific":{"binaries":[{"binary_name":"kramdown","binary_version":"1.17.0-4ubuntu0.2"},{"binary_name":"ruby-kramdown","binary_version":"1.17.0-4ubuntu0.2"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28834.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}