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.
CVSS Details
- CVSS 3.1 Base Score: 9.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alpine Linux | alpine-linux-upgrade-icinga2 | Aug 22, 2024 | Jul 17, 2020 | |
| Debian | debian-upgrade-ruby-kramdown | Aug 10, 2020 | Jul 17, 2020 | |
| Freebsd | freebsd-upgrade-package-gitlab-cefreebsd-upgrade-package-rubygem-kramdown | Aug 6, 2020 | Aug 6, 2020 | |
| Suse | — | suse-upgrade-ruby2-5-rubygem-kramdownsuse-upgrade-ruby2-5-rubygem-kramdown-docsuse-upgrade-ruby2-5-rubygem-kramdown-testsuite | Aug 9, 2024 | Jul 17, 2020 |
| Ubuntu | ubuntu-upgrade-kramdownubuntu-upgrade-ruby-kramdown | Oct 1, 2020 | Jun 28, 2020 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub