CVE-2021-28834 Remote code execution in Kramdown
CriticalCVSS 9.8
EPSS 2.7%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
Upgrade path
8 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ruby-kramdown(Debian 12) | < 2.3.0-5 | 2.3.0-5 | Fixed |
| debian/ruby-kramdown(Debian 13) | < 2.3.0-5 | 2.3.0-5 | Fixed |
| debian/ruby-kramdown(Debian 14) | < 2.3.0-5 | 2.3.0-5 | Fixed |
| kramdown project kramdown | < 2.3.1 | 2.3.1 | Fixed |
| rubygems kramdown(RubyGems) | = 1.16.0; = 1.16.1; = 1.16.2; = 1.17.0 +8 more | 2.3.1 | Fixed |
| ubuntu/ruby-kramdown(Ubuntu 20.04) | < 1.17.0-4ubuntu0.2; = 1.17.0-1; = 1.17.0-2; = 1.17.0-4 +1 more | 1.17.0-4ubuntu0.2 | Fixed |
| debian linux | = 10.0 | No fix listed | Versions listed |
| fedoraproject fedora | = 32; = 33; = 34 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems kramdown(RubyGems) | >= 1.16.0, < 2.3.1 | 2.3.1 |
| rubygems kramdown(RubyGems) | = 1.16.0 | No fix listed |
| rubygems kramdown(RubyGems) | = 1.16.1 | No fix listed |
| rubygems kramdown(RubyGems) | = 1.16.2 | No fix listed |
| rubygems kramdown(RubyGems) | = 1.17.0 | No fix listed |
| rubygems kramdown(RubyGems) | = 2.0.0 | No fix listed |
| rubygems kramdown(RubyGems) | = 2.0.0.beta1 | No fix listed |
| rubygems kramdown(RubyGems) | = 2.0.0.beta2 | No fix listed |
| rubygems kramdown(RubyGems) | = 2.1.0 | No fix listed |
| rubygems kramdown(RubyGems) | = 2.2.0 | No fix listed |
| rubygems kramdown(RubyGems) | = 2.2.1 | No fix listed |
| rubygems kramdown(RubyGems) | = 2.3.0 | No fix listed |
| debian/ruby-kramdown(Debian:12) | < 2.3.0-5 | 2.3.0-5 |
| debian/ruby-kramdown(Debian:13) | < 2.3.0-5 | 2.3.0-5 |
| debian/ruby-kramdown(Debian:14) | < 2.3.0-5 | 2.3.0-5 |
| kramdown project kramdown | < 2.3.1 | 2.3.1 |
| fedoraproject fedora | = 32 | No fix listed |
| fedoraproject fedora | = 33 | No fix listed |
| fedoraproject fedora | = 34 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| ubuntu/ruby-kramdown(Ubuntu:20.04) | < 1.17.0-4ubuntu0.2 | 1.17.0-4ubuntu0.2 |
| ubuntu/ruby-kramdown(Ubuntu:20.04) | = 1.17.0-1 | No fix listed |
| ubuntu/ruby-kramdown(Ubuntu:20.04) | = 1.17.0-2 | No fix listed |
| ubuntu/ruby-kramdown(Ubuntu:20.04) | = 1.17.0-4 | No fix listed |
| ubuntu/ruby-kramdown(Ubuntu:20.04) | = 1.17.0-4ubuntu0.1 | No fix listed |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com exploit issue-tracking patch third-party-advisory
- github.com patch
- github.com patch
- about.gitlab.com
- github.com issue-tracking patch third-party-advisory
- gitlab.com issue-tracking patch third-party-advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org
- DSA-4890 third-party-advisory vendor-advisory
- github.com
- Debian Security Tracker CVE-2021-28834 vendor-advisory
- FEDORA-2021-edc673e864 vendor-advisory
- FEDORA-2021-139a6a2f9d vendor-advisory
- FEDORA-2021-4c57a892d1 vendor-advisory
- bugs.debian.org issue-tracking
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking