Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2021-31799

24
FAUCET Score

CVE-2021-31799 describes an arbitrary code execution vulnerability in RDoc versions 3.11 through 6.x before 6.3.1, as distributed with Ruby through 3.0.1, affecting products like Debian and Oracle. With a CVSS score of 7.0 (High), this vulnerability requires low privileges and high attack complexity, but can lead to high impact on confidentiality, integrity, and availability if successfully exploited. There is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage, suggesting it is not widely known or exploited in the wild.

Impacted Technologies

VendorProductVersion(s)CPE
9.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
10.0CPE matchmatch criteria
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
>= 3.11, < 6.3.1CPE matchmatch criteria
cpe:2.3:a:ruby-lang:rdoc:*:*:*:*:*:ruby:*:*
< 9.2.6.1CPE matchmatch criteria
cpe:2.3:a:oracle:jd_edwards_enterpriseone_tools:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

7.0HIGH

CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
LOCAL
Attack Complexity
HIGH
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
Exploitability Score
1.0
Impact Score
5.9
CvssVersion
3.1

Exploit Intelligence

EPSS Score
1.48%
Probability of exploitation in next 30 days
EPSS Percentile
71.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0148 is in the 94th percentile among its peer group of 1,523 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.4 InfoSec Media, 0.1 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (16)

oraclepatch availablevia nvd_reference
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.2 Extended Update SupportFixed in: ruby:2.6-8020020220201131207.4cda2c84
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-ruby30-ruby-0:3.0.2-148.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-ruby26-ruby-0:2.6.9-120.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSFixed in: rh-ruby27-ruby-0:2.7.4-130.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSFixed in: rh-ruby30-ruby-0:3.0.2-148.el7
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: ruby:2.7-8040020210728141159.522a0ee4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: ruby:2.6-8050020211215144356.c5368500
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8Fixed in: ruby:2.5-8050020220216195847.c5368500
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.1 Update Services for SAP SolutionsFixed in: ruby:2.6-8010020220201152941.c27ad7f8
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Enterprise Linux 8.4 Extended Update SupportFixed in: ruby:2.6-8040020220131135901.522a0ee4
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Software Collections for Red Hat Enterprise Linux 7Fixed in: rh-ruby27-ruby-0:2.7.4-130.el7
View patch
rubygemspatch availablevia ghsa
Product: rdocFixed in: 6.2.1.1
rubygemspatch availablevia ghsa
Product: rdocFixed in: 6.3.1
rubygemspatch availablevia ghsa
Product: rdocFixed in: 6.1.2.1
redhatvendor investigatingvia redhat_api
Product: Red Hat 3scale API Management Platform 2Fixed in: system

Vendor Advisories (2)

rubygemsGHSA-ggxm-pgc9-g7fphigh

Arbitrary Code Execution in Rdoc

Sep 1, 2021
redhatCVE-2021-31799Moderate

rubygem-rdoc: Command injection vulnerability in RDoc

May 2, 2021

References

lists.debian.org / debian-lts-announce/2021/10/msg00009.html
Third Party Advisory
security.gentoo.org / glsa/202401-05
security.netapp.com / advisory/ntap-20210902-0004
Third Party Advisory
security-tracker.debian.org / tracker/CVE-2021-31799
Third Party Advisory
oracle.com / security-alerts/cpuapr2022.html
PatchThird Party Advisory
ruby-lang.org / en/news/2021/05/02/os-command-injection-in-rdoc
PatchVendor Advisory