Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2024-27281: ruby: RCE vulnerability with .rdoc_options in RDoc (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat: CVE-2024-27281: ruby: RCE vulnerability with .rdoc_options in RDoc (Multiple Advisories)

Severity
4
CVSS
(AV:L/AC:H/Au:N/C:P/I:P/A:P)
Published
05/14/2024
Created
06/01/2024
Added
05/31/2024
Modified
09/13/2024

Description

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.

Solution(s)

  • redhat-upgrade-ruby
  • redhat-upgrade-ruby-bundled-gems
  • redhat-upgrade-ruby-bundled-gems-debuginfo
  • redhat-upgrade-ruby-debuginfo
  • redhat-upgrade-ruby-debugsource
  • redhat-upgrade-ruby-default-gems
  • redhat-upgrade-ruby-devel
  • redhat-upgrade-ruby-doc
  • redhat-upgrade-ruby-irb
  • redhat-upgrade-ruby-libs
  • redhat-upgrade-ruby-libs-debuginfo
  • redhat-upgrade-rubygem-abrt
  • redhat-upgrade-rubygem-abrt-doc
  • redhat-upgrade-rubygem-bigdecimal
  • redhat-upgrade-rubygem-bigdecimal-debuginfo
  • redhat-upgrade-rubygem-bson
  • redhat-upgrade-rubygem-bson-debuginfo
  • redhat-upgrade-rubygem-bson-debugsource
  • redhat-upgrade-rubygem-bson-doc
  • redhat-upgrade-rubygem-bundler
  • redhat-upgrade-rubygem-bundler-doc
  • redhat-upgrade-rubygem-did_you_mean
  • redhat-upgrade-rubygem-io-console
  • redhat-upgrade-rubygem-io-console-debuginfo
  • redhat-upgrade-rubygem-irb
  • redhat-upgrade-rubygem-json
  • redhat-upgrade-rubygem-json-debuginfo
  • redhat-upgrade-rubygem-minitest
  • redhat-upgrade-rubygem-mongo
  • redhat-upgrade-rubygem-mongo-doc
  • redhat-upgrade-rubygem-mysql2
  • redhat-upgrade-rubygem-mysql2-debuginfo
  • redhat-upgrade-rubygem-mysql2-debugsource
  • redhat-upgrade-rubygem-mysql2-doc
  • redhat-upgrade-rubygem-net-telnet
  • redhat-upgrade-rubygem-openssl
  • redhat-upgrade-rubygem-openssl-debuginfo
  • redhat-upgrade-rubygem-pg
  • redhat-upgrade-rubygem-pg-debuginfo
  • redhat-upgrade-rubygem-pg-debugsource
  • redhat-upgrade-rubygem-pg-doc
  • redhat-upgrade-rubygem-power_assert
  • redhat-upgrade-rubygem-psych
  • redhat-upgrade-rubygem-psych-debuginfo
  • redhat-upgrade-rubygem-racc
  • redhat-upgrade-rubygem-racc-debuginfo
  • redhat-upgrade-rubygem-rake
  • redhat-upgrade-rubygem-rbs
  • redhat-upgrade-rubygem-rbs-debuginfo
  • redhat-upgrade-rubygem-rdoc
  • redhat-upgrade-rubygem-rexml
  • redhat-upgrade-rubygem-rss
  • redhat-upgrade-rubygem-test-unit
  • redhat-upgrade-rubygem-typeprof
  • redhat-upgrade-rubygem-xmlrpc
  • redhat-upgrade-rubygems
  • redhat-upgrade-rubygems-devel

insightVM

Advanced vulnerability management analytics and reporting.
Key Features
  • Lightweight Endpoint Agent
  • Live Dashboards
  • Real Risk Prioritization
  • IT-Integrated Remediation Projects
  • Cloud, Virtual, and Container Assessment
  • Integrated Threat Feeds
  • Easy-to-Use RESTful API
  • Automation-Assisted Patching
  • Automated Containment
Free InsightVM Trial View All Features

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;