CVE-2020-14001: The kramdown gem before 2.3.0 for Ruby processes the template option inside Kramdown documents by default, which allows unintended read…
Noroxi assessment
Priority: Plan (action score 40/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 4.5% (FIRST EPSS); higher than 91.7% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: icinga2 (Alpine:v3.12) 2.11.3-r1; ruby-kramdown (Debian:10) 1.17.0-1+deb10u1; ruby-kramdown (Debian:12) 2.3.0-3.
Add it to your regular patch cycle. Upgrade to icinga2 (Alpine:v3.12) 2.11.3-r1; ruby-kramdown (Debian:10) 1.17.0-1+deb10u1; ruby-kramdown (Debian:12) 2.3.0-3 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
The kramdown gem before 2.3.0 for Ruby processes the template option inside Kramdown documents by default, which allows unintended read access (such as template="/etc/passwd") or unintended embedded Ruby code execution (such as a string that begins with template="string://<%= `). NOTE: kramdown is used in Jekyll, GitLab Pages, GitHub Pages, and Thredded Forum.
- Published
- Jul 17, 2020
- Updated
- Jun 16, 2026
- EPSS
- 4.5% · 91th percentile
- CWE
- CWE-862
Report tools
Action score
40
Add it to your regular patch cycle.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 4.5%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| kramdown project | kramdown | cpe:2.3:a:kramdown_project:kramdown |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux20.04
- debian debian linux10.0
- debian debian linux9.0
- fedoraproject fedora31
- fedoraproject fedora32
- kramdown project kramdownbefore 2.3.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.12 | icinga2 | before 2.11.3-r1 | 2.11.3-r1 |
| Debian:10 | ruby-kramdown | before 1.17.0-1+deb10u1 | 1.17.0-1+deb10u1 |
| Debian:12 | ruby-kramdown | before 2.3.0-3 | 2.3.0-3 |
| Debian:9 | ruby-kramdown | before 1.12.0-1+deb9u1 | 1.12.0-1+deb9u1 |
| openSUSE:Leap 15.3 | rubygem-kramdown | before 1.15.0-150000.3.3.1 | 1.15.0-150000.3.3.1 |
| openSUSE:Tumbleweed | ruby3.2-rubygem-kramdown | before 2.4.0-1.8 | 2.4.0-1.8 |
| openSUSE:Tumbleweed | rubygem-kramdown | before 2.4.0-1.17 | 2.4.0-1.17 |
| openSUSE:Tumbleweed | rubygem-kramdown | before 2.4.0-1.1 | 2.4.0-1.1 |
| openSUSE:Tumbleweed | rubygem-kramdown | before 2.4.0-1.12 | 2.4.0-1.12 |
| openSUSE:Tumbleweed | rubygem-kramdown | before 2.4.0-1.15 | 2.4.0-1.15 |
| RubyGems | kramdown | before 2.3.0 | 2.3.0 |
| SUSE:Linux Enterprise High Availability Extension 15 | rubygem-kramdown | before 1.15.0-150000.3.3.1 | 1.15.0-150000.3.3.1 |
Same product
kramdown project: all recordsOther highest-scoring records for the same primary product.
- CVE-2021-28834Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:icinga2 | 2.11.3-r1 · Alpine:v3.12 | Package registry (OSV) |
| debian:ruby-kramdown | 2.3.0-3 · Debian:12 | Package registry (OSV) |
| opensuse:ruby3.2-rubygem-kramdown | 2.4.0-1.8 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:rubygem-kramdown | 1.15.0-150000.3.3.1 · openSUSE:Leap 15.3 | Package registry (OSV) |
| RubyGems:kramdown | 2.3.0 | Package registry (OSV) |
| suse:rubygem-kramdown | 1.15.0-150000.3.3.1 · SUSE:Linux Enterprise High Availability Extension 15 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Not on record for this CVE: EPSS history · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-862 · Missing AuthorizationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (12 more)Show less
- github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde
- github.com/gettalong/kramdown/compare/REL_2_2_1...REL_2_3_0
- kramdown.gettalong.org
- kramdown.gettalong.org/news.html
- lists.apache.org/thread.html/r96df7899fbb456fe2705882f710a0c8e8614b573fbffd8d12e3f54d2%40%3Cnotifications.fluo.apache.org%3E
- lists.debian.org/debian-lts-announce/2020/08/msg00014.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ENMMGKHRQIZ3QKGOMBBBGB6B4LB5I7NQ/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KBLTGBYU7NKOUOHDKVCU4GFZMGA6BP4L/
- rubygems.org/gems/kramdown
- security.netapp.com/advisory/ntap-20200731-0004/
- usn.ubuntu.com/4562-1/
- www.debian.org/security/2020/dsa-4743
Vendor advisories and official records. Exploit/PoC links are deliberately left out.