Read the docs
TI-2024-18120 Aliases CVE-2024-27281GHSA-592j-995h-p23j

An issue was discovered in RDoc 6.3.3 through 6.6.2, as distributed in Ruby 3.x through…

Priority MEDIUM 54CWE-502Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Required
Attack complexity
High
Impact type
Code execution
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Partial Red Hat: 3 fixed, 5 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-502.

Summary

An issue was discovered in RDoc 6.3.3 through 6.6.2, as distributed in Ruby 3.x through 3.3.0. When parsing .rdoc_options (used for configuration in RDoc) as a YAML file, object injection and resultant remote code execution are possible because there are no restrictions on the classes that can be restored. (When loading the documentation cache, object injection and resultant remote code execution are also possible if there were a crafted cache.) The main fixed version is 6.6.3.1. For Ruby 3.0 users, a fixed version is rdoc 6.3.4.1. For Ruby 3.1 users, a fixed version is rdoc 6.4.1.1. For Ruby 3.2 users, a fixed version is rdoc 6.5.1.1.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.01571 75th percentileScored 2026-11-07
Fix Partial rdoc (RubyGems): 6.3.4.1, 6.4.1.1, 6.5.1.1 +1Red Hat: 7 advisoriesRed Hat: 3 fixed, 5 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—rdoc (RubyGems)6.3.3 to before 6.3.4.16.3.4.1Patch availableGHSA-592j-995h-p23j
—rdoc (RubyGems)6.4.0 to before 6.4.1.16.4.1.1Patch availableGHSA-592j-995h-p23j
—rdoc (RubyGems)6.5.0 to before 6.5.1.16.5.1.1Patch availableGHSA-592j-995h-p23j
—rdoc (RubyGems)6.6.0 to before 6.6.3.16.6.3.1Patch availableGHSA-592j-995h-p23j
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • rdoc (RubyGems) Vendor— Affected 6.3.3 to before 6.3.4.1 Fixed in 6.3.4.1 Patch available GHSA-592j-995h-p23j
  • rdoc (RubyGems) Vendor— Affected 6.4.0 to before 6.4.1.1 Fixed in 6.4.1.1 Patch available GHSA-592j-995h-p23j
  • rdoc (RubyGems) Vendor— Affected 6.5.0 to before 6.5.1.1 Fixed in 6.5.1.1 Patch available GHSA-592j-995h-p23j
  • rdoc (RubyGems) Vendor— Affected 6.6.0 to before 6.6.3.1 Fixed in 6.6.3.1 Patch available GHSA-592j-995h-p23j

CPE names CISA-ADP · 1

CPEVersionsRoleVendor
cpe:2.3:a:ruby:rdoc:*:*:*:*:*:*:*:*———
  • cpe:2.3:a:ruby:rdoc:*:*:*:*:*:*:*:* Versions — — ·—

Remediation

  • Fix · GHSA-592j-995h-p23j rdoc (RubyGems) Fixed in 6.3.4.1 Advisory →
  • Fix · GHSA-592j-995h-p23j rdoc (RubyGems) Fixed in 6.4.1.1 Advisory →
  • Fix · GHSA-592j-995h-p23j rdoc (RubyGems) Fixed in 6.5.1.1 Advisory →
  • Fix · GHSA-592j-995h-p23j rdoc (RubyGems) Fixed in 6.6.3.1 Advisory →

Red Hat 7 advisories

  • RHSA-2024:4499 Released 2024-07-11 · Red Hat rating Moderate
    ruby security update
    • Red Hat Enterprise Linux AppStream (v. 8) ruby-2.5.9-112.module+el8.10.0+22021+135c76a8.aarch64::ruby:2.5, ruby-2.5.9-112.module+el8.10.0+22021+135c76a8.i686::ruby:2.5, ruby-2.5.9-112.module+el8.10.0+22021+135c76a8.ppc64le::ruby:2.5 +47
  • RHSA-2024:3838 Released 2024-06-11 · Red Hat rating Moderate
    ruby security update
    • Red Hat Enterprise Linux AppStream (v. 9) ruby-3.0.7-162.el9_4, ruby-default-gems-3.0.7-162.el9_4, ruby-devel-3.0.7-162.el9_4 +18
    • Red Hat Enterprise Linux CRB (v. 9) ruby-doc-3.0.7-162.el9_4
  • RHSA-2024:3671 Released 2024-06-06 · Red Hat rating Moderate
    ruby:3.3 security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 9) ruby-3.3.1-2.module+el9.4.0+21859+16f07581.aarch64::ruby:3.3, ruby-3.3.1-2.module+el9.4.0+21859+16f07581.i686::ruby:3.3, ruby-3.3.1-2.module+el9.4.0+21859+16f07581.ppc64le::ruby:3.3 +47
Show 4 more Red Hat advisories
  • RHSA-2024:3670 Released 2024-06-06 · Red Hat rating Moderate
    ruby:3.3 security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 8) ruby-3.3.1-2.module+el8.10.0+21860+47fbda2a.aarch64::ruby:3.3, ruby-3.3.1-2.module+el8.10.0+21860+47fbda2a.i686::ruby:3.3, ruby-3.3.1-2.module+el8.10.0+21860+47fbda2a.ppc64le::ruby:3.3 +47
  • RHSA-2024:3668 Released 2024-06-06 · Red Hat rating Moderate
    ruby:3.1 security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 9) ruby-3.1.5-144.module+el9.4.0+21780+79b7bdb5.aarch64::ruby:3.1, ruby-3.1.5-144.module+el9.4.0+21780+79b7bdb5.i686::ruby:3.1, ruby-3.1.5-144.module+el9.4.0+21780+79b7bdb5.ppc64le::ruby:3.1 +47
  • RHSA-2024:3546 Released 2024-06-03 · Red Hat rating Moderate
    ruby:3.1 security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 8) ruby-3.1.5-143.module+el8.10.0+21792+e2f63d26.aarch64::ruby:3.1, ruby-3.1.5-143.module+el8.10.0+21792+e2f63d26.i686::ruby:3.1, ruby-3.1.5-143.module+el8.10.0+21792+e2f63d26.ppc64le::ruby:3.1 +47
  • RHSA-2024:3500 Released 2024-05-30 · Red Hat rating Moderate
    ruby:3.0 security update
    • Red Hat Enterprise Linux AppStream (v. 8) ruby-3.0.7-143.module+el8.10.0+21858+d19f3934.aarch64::ruby:3.0, ruby-3.0.7-143.module+el8.10.0+21858+d19f3934.i686::ruby:3.0, ruby-3.0.7-143.module+el8.10.0+21858+d19f3934.ppc64le::ruby:3.0 +47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat Satellite 6AffectedNo fix planned: Will not fix
Red Hat Software CollectionsAffectedNo fix planned: Out of support scope
Red Hat Storage 3AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2024:3500, RHSA-2024:3546, RHSA-2024:3670, RHSA-2024:4499
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2024:3668, RHSA-2024:3671, RHSA-2024:3838
Red Hat Enterprise Linux CRB (v. 9)Fixed RHSA-2024:3838
Not affected: 4 products
  • Red Hat Enterprise Linux 10
  • Red Hat OpenStack Platform 16.1
  • Red Hat OpenStack Platform 16.2
  • Red Hat OpenStack Platform 17.1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-27281
  2. 2026-10-03 Alias added: GHSA-592j-995h-p23j

References

Sources