ADVISORIES

Red Hat VEX

RHVEX-CVE-2024-27281

ruby: RCE vulnerability with .rdoc_options in RDoc

Moderate No fix available CVE-2024-27281

Details

A flaw was found in Rubygem RDoc. When parsing .rdoc_options used for configuration in RDoc as a YAML file there are no restrictions on the classes that can be restored. This issue may lead to object injection, resulting in remote code execution.

Affected packages

EcosystemPackageAffected versions
Red Hat:enterprise_linux:6ruby
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-docs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-irb
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-libs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-rdoc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-ri
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-static
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:6ruby-tcltk
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ruby
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ruby-devel
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ruby-doc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ruby-irb
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ruby-libs
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7ruby-tcltk
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-bigdecimal
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-io-console
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-json
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-minitest
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-psych
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-rake
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygem-rdoc
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygems
All versions, no fix (out of support scope)
Red Hat:enterprise_linux:7rubygems-devel
All versions, no fix (out of support scope)

References