Name | CVE-2020-14001 |
Description | 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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2316-1, DSA-4743-1 |
Debian Bugs | 965305 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
ruby-kramdown (PTS) | bullseye | 2.3.0-5 | fixed |
bookworm | 2.4.0-2 | fixed | |
sid, trixie | 2.5.1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
ruby-kramdown | source | experimental | 2.3.0-1 | |||
ruby-kramdown | source | stretch | 1.12.0-1+deb9u1 | DLA-2316-1 | ||
ruby-kramdown | source | buster | 1.17.0-1+deb10u1 | DSA-4743-1 | ||
ruby-kramdown | source | (unstable) | 2.3.0-3 | 965305 |
https://github.com/advisories/GHSA-mqm2-cgpr-p4m6
https://github.com/gettalong/kramdown/commit/1b8fd33c3120bfc6e5164b449e2c2fc9c9306fde