SecurityContext

CVE-2021-28834: Kramdown - Insecure Deserialization

  • Cve: CVE-2021-28834
  • Name: Kramdown - Insecure Deserialization
  • Description: Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
  • Impact: Attackers can instantiate arbitrary classes, potentially leading to remote code execution or other malicious actions.
  • Remediation: Update to version 2.3.1 or later.
  • Vulnerability type: insecure_deserialization
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.02695
  • Epss percentile: 0.86278
  • Assignee: [email protected]
  • Published at: 2021-03-19T07:15:13Z
  • Age in days: 2076
  • Modified at: 2026-06-17T03:46:57Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 7
  • Products total: 3
  • Oss: yes
  • Projects total: 2
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-28834
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
NVD-CWE-noinfo—

Public exploits

UrlSourceAdded date
https://github.com/gettalong/kramdown/pull/708nvd2021-03-19

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1Patch, Third Party Advisory
https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66Patch, Third Party Advisory
https://github.com/gettalong/kramdown/pull/708Exploit, Third Party Advisory
https://www.debian.org/security/2021/dsa-4890Third Party Advisory
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/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
kramdown_project:kramdown< 2.3.1/v1/products/kramdown_project/kramdown
debian:debian_linux= 10.0/v1/products/debian/debian_linux
fedoraproject:fedora= 34, = 33, = 32/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
gettalong/kramdowncompare, pullyes/v1/repositories/gettalong/kramdown
stanhu/kramdowncommityes/v1/repositories/stanhu/kramdown

Index

  • Repositories: 43
  • Repositories high signal: 9
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-03-19
  • Remote: yes
  • Exposed hosts: 4739835
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports