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
| Id | Name |
|---|---|
| NVD-CWE-noinfo | — |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/gettalong/kramdown/pull/708 | nvd | 2021-03-19 |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| 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
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| gettalong/kramdown | compare, pull | yes | /v1/repositories/gettalong/kramdown |
| stanhu/kramdown | commit | yes | /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