Vulnerability Details : CVE-2021-28834
Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.
Products affected by CVE-2021-28834
- cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:a:kramdown_project:kramdown:*:*:*:*:*:ruby:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-28834
2.00%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 88 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-28834
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
6.8
|
MEDIUM | AV:N/AC:M/Au:N/C:P/I:P/A:P |
8.6
|
6.4
|
NIST | |
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST |
References for CVE-2021-28834
-
https://github.com/gettalong/kramdown/compare/REL_2_3_0...REL_2_3_1
Comparing REL_2_3_0...REL_2_3_1 · gettalong/kramdown · GitHubPatch;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SYOLQKFL6IJCQLBXV34Z4TI4O54GESPR/
[SECURITY] Fedora 33 Update: rubygem-kramdown-2.2.1-10.fc33 - package-announce - Fedora Mailing-ListsThird Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S3BBLUIDCUUR3NEE4NJLOCCAV3ALQ3O6/
[SECURITY] Fedora 34 Update: rubygem-kramdown-2.3.1-1.fc34 - package-announce - Fedora Mailing-ListsThird Party Advisory
-
https://gitlab.com/gitlab-org/gitlab/-/commit/179329b5c3c118924fb242dc449d06b4ed6ccb66
Patch Kramdown syntax highlighter gem (179329b5) · Commits · GitLab.org / GitLab · GitLabPatch;Third Party Advisory
-
https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NJCJVYHPY6LNUFM6LYZIAUIYOMVT5QGV/
[SECURITY] Fedora 32 Update: rubygem-kramdown-2.1.0-5.fc32 - package-announce - Fedora Mailing-ListsThird Party Advisory
-
https://github.com/gettalong/kramdown/pull/708
Restrict Rouge formatters to Rouge::Formatters namespace by stanhu · Pull Request #708 · gettalong/kramdown · GitHubExploit;Third Party Advisory
-
https://www.debian.org/security/2021/dsa-4890
Debian -- Security Information -- DSA-4890-1 ruby-kramdownThird Party Advisory
Jump to