Security mailing lists by PureSourceCode

CVE-2021-28834

CRITICAL 9.8CVSS 3.1

Remote code execution in Kramdown

Kramdown before 2.3.1 does not restrict Rouge formatters to the Rouge::Formatters namespace, and thus arbitrary classes can be instantiated.

Published
19 Mar 2021
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-94
Also known as
GHSA-52p9-v744-mwjj
Sources
NVDJSONOSV GHSA-52p9-v744-mwjjJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD kramdown_project kramdown
cpe:2.3:a:kramdown_project:kramdown:*:*:*:*:*:ruby:*:*
< 2.3.1 2.3.1
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*
= 32
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
OSV RubyGems kramdown >= 1.16.0, < 2.3.1 2.3.1

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 19 Mar 2021)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 29 Mar 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.