Ubuntu CVE Tracker
UBUNTU-CVE-2021-28834
Details
Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:20.04:LTS | ruby-kramdown | All versions before 1.17.0-4ubuntu0.2 (fixed in 1.17.0-4ubuntu0.2) |
References
- https://ubuntu.com/security/CVE-2021-28834
- https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1
- https://github.com/gettalong/kramdown/pull/708
- https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66
- https://ubuntu.com/security/notices/USN-6424-1
- https://www.cve.org/CVERecord?id=CVE-2021-28834