{"api_version":"1","generated_at":"2026-07-23T14:36:19+00:00","cve":"CVE-2021-28834","urls":{"html":"https://cve.report/CVE-2021-28834","api":"https://cve.report/api/cve/CVE-2021-28834.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2021-28834","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2021-28834"},"summary":{"title":"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.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2021-03-19 07:15:00","updated_at":"2023-11-07 03:32:00"},"problem_types":["NVD-CWE-noinfo"],"metrics":[],"references":[{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SYOLQKFL6IJCQLBXV34Z4TI4O54GESPR/","name":"FEDORA-2021-4c57a892d1","refsource":"","tags":[],"title":"[SECURITY] Fedora 33 Update: rubygem-kramdown-2.2.1-10.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SYOLQKFL6IJCQLBXV34Z4TI4O54GESPR/","name":"FEDORA-2021-4c57a892d1","refsource":"FEDORA","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"404"},{"url":"https://www.debian.org/security/2021/dsa-4890","name":"DSA-4890","refsource":"DEBIAN","tags":[],"title":"Debian -- Security Information -- DSA-4890-1 ruby-kramdown","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/gettalong/kramdown/pull/708","name":"https://github.com/gettalong/kramdown/pull/708","refsource":"MISC","tags":[],"title":"Restrict Rouge formatters to Rouge::Formatters namespace by stanhu · Pull Request #708 · gettalong/kramdown · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NJCJVYHPY6LNUFM6LYZIAUIYOMVT5QGV/","name":"FEDORA-2021-edc673e864","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 32 Update: rubygem-kramdown-2.1.0-5.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1","name":"https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1","refsource":"MISC","tags":[],"title":"Comparing REL_2_3_0...REL_2_3_1 · gettalong/kramdown · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NJCJVYHPY6LNUFM6LYZIAUIYOMVT5QGV/","name":"FEDORA-2021-edc673e864","refsource":"","tags":[],"title":"[SECURITY] Fedora 32 Update: rubygem-kramdown-2.1.0-5.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66","name":"https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66","refsource":"MISC","tags":[],"title":"Patch Kramdown syntax highlighter gem (179329b5) · Commits · GitLab.org / GitLab · GitLab","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S3BBLUIDCUUR3NEE4NJLOCCAV3ALQ3O6/","name":"FEDORA-2021-139a6a2f9d","refsource":"","tags":[],"title":"[SECURITY] Fedora 34 Update: rubygem-kramdown-2.3.1-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S3BBLUIDCUUR3NEE4NJLOCCAV3ALQ3O6/","name":"FEDORA-2021-139a6a2f9d","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 34 Update: rubygem-kramdown-2.3.1-1.fc34 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-28834","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-28834","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2021","cve_id":"28834","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"10.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"28834","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"32","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"28834","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"28834","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"34","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2021","cve_id":"28834","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"kramdown_project","cpe5":"kramdown","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"ruby","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2021-28834","qid":"178532","title":"Debian Security Update for ruby-kramdown (DSA 4890-1)"},{"cve":"CVE-2021-28834","qid":"179925","title":"Debian Security Update for ruby-kramdown (CVE-2021-28834)"},{"cve":"CVE-2021-28834","qid":"199819","title":"Ubuntu Security Notification for kramdown Vulnerability (USN-6424-1)"},{"cve":"CVE-2021-28834","qid":"281442","title":"Fedora Security Update for rubygem (FEDORA-2021-139a6a2f9d)"},{"cve":"CVE-2021-28834","qid":"281443","title":"Fedora Security Update for rubygem (FEDORA-2021-edc673e864)"},{"cve":"CVE-2021-28834","qid":"281444","title":"Fedora Security Update for rubygem (FEDORA-2021-4c57a892d1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2021-28834","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/gettalong/kramdown/pull/708","refsource":"MISC","name":"https://github.com/gettalong/kramdown/pull/708"},{"url":"https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66","refsource":"MISC","name":"https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66"},{"url":"https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1","refsource":"MISC","name":"https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1"},{"refsource":"FEDORA","name":"FEDORA-2021-139a6a2f9d","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S3BBLUIDCUUR3NEE4NJLOCCAV3ALQ3O6/"},{"refsource":"FEDORA","name":"FEDORA-2021-4c57a892d1","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SYOLQKFL6IJCQLBXV34Z4TI4O54GESPR/"},{"refsource":"FEDORA","name":"FEDORA-2021-edc673e864","url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NJCJVYHPY6LNUFM6LYZIAUIYOMVT5QGV/"},{"refsource":"DEBIAN","name":"DSA-4890","url":"https://www.debian.org/security/2021/dsa-4890"}]}},"nvd":{"publishedDate":"2021-03-19 07:15:00","lastModifiedDate":"2023-11-07 03:32:00","problem_types":["NVD-CWE-noinfo"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL"},"exploitabilityScore":3.9,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:kramdown_project:kramdown:*:*:*:*:*:ruby:*:*","versionEndExcluding":"2.3.1","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2021","CveId":"28834","Ordinal":"204010","Title":"CVE-2021-28834","CVE":"CVE-2021-28834","Year":"2021"},"notes":[{"CveYear":"2021","CveId":"28834","Ordinal":"1","NoteData":"Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.","Type":"Description","Title":null},{"CveYear":"2021","CveId":"28834","Ordinal":"2","NoteData":"2021-03-19","Type":"Other","Title":"Published"},{"CveYear":"2021","CveId":"28834","Ordinal":"3","NoteData":"2021-04-12","Type":"Other","Title":"Modified"}]}}}