GHSA-ggxm-pgc9-g7fp · Severity: high · Ecosystem: rubygems — Arbitrary Code Execution in Rdoc
In RDoc 3.11 through 6.x before 6.3.1, as distributed with Ruby through 3.0.1, it is possible to execute arbitrary code via | and tags in a filename.
Conclusion & alert: CVE-2021-31799 is rated Moderate Risk (53.8/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.48%). Core evidence: EPSS rose +1.13% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.35% | 1.48% | +1.13% |
| 2 | 2026-03-04 | 0.14% | 0.35% | +0.21% |
| 3 | 2026-03-01 | — | 0.14% | — |
Full EPSS history (55 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.0 | 3.1 | HIGH |
|
1.0 | 5.9 | [email protected] |
| 7.0 | 3.1 | HIGH |
|
1.0 | 5.9 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
| 4.4 | 2.0 | MEDIUM |
|
3.4 | 6.4 | [email protected] |
GHSA-ggxm-pgc9-g7fp · Severity: high · Ecosystem: rubygems — Arbitrary Code Execution in Rdoc
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2021-31799: 1 source package rows (ruby); 54 state rows across 9 repos (3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 13, open 41. | https://security.alpinelinux.org/vuln/CVE-2021-31799 |
debian
|
not yet assigned | CVE-2021-31799 not yet assigned priority: Debian including 1 source packages (ruby2.7), 1 status rows across 1 suites (bullseye): resolved 1. | https://security-tracker.debian.org/tracker/CVE-2021-31799 |
gentoo
|
normal | CVE-2021-31799: 1 GLSA(s) (202401-05), 1 atom(s) (dev-ruby/rdoc); latest impact normal. | https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2021-31799 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2021-31799 |
suse
|
high | CVE-2021-31799 severity important: SUSE including 359 source package names (2.17-17.3:libruby2_5-2_5-2.5.9-4.20.1, 2.17-17.3:ruby2.5-2.5.9-4.20.1, …), 1150 product×package rows across 266 product lines (Container bci/ruby, Container suse/rmt-server, … (266 product lines)): Fixed 977, Known Affected 160, Known Not Affected 13. | https://www.suse.com/security/cve/CVE-2021-31799/ |
ubuntu
|
medium | CVE-2021-31799 medium priority: Ubuntu including 5 source packages (ruby1.9.1, ruby2.0, ruby2.3, ruby2.5, ruby2.7), 44 status rows across 9 suites (bionic, focal, groovy, hirsute, impish, jammy, trusty, upstream, xenial): DNE 33, released 6, needs-triage 5. | https://ubuntu.com/security/CVE-2021-31799 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| debian | debian_linux | 9.0 | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
| debian | debian_linux | 10.0 | cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
| ruby-lang | rdoc | >= 3.11, < 6.3.1 | cpe:2.3:a:ruby-lang:rdoc:*:*:*:*:*:ruby:*:* |
| oracle | jd_edwards_enterpriseone_tools | < 9.2.6.1 | cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://lists.debian.org/debian-lts-announce/2021/10/msg00009.html | Third Party Advisory |
| https://security-tracker.debian.org/tracker/CVE-2021-31799 | Third Party Advisory |
| https://security.gentoo.org/glsa/202401-05 | |
| https://security.netapp.com/advisory/ntap-20210902-0004/ | Third Party Advisory |
| https://www.oracle.com/security-alerts/cpuapr2022.html | Patch Third Party Advisory |
| https://www.ruby-lang.org/en/news/2021/05/02/os-command-injection-in-rdoc/ | Patch Vendor Advisory |