Red Hat VEX
RHVEX-CVE-2024-27281
ruby: RCE vulnerability with .rdoc_options in RDoc
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
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:6 | ruby | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-docs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-irb | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-rdoc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-ri | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-static | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:6 | ruby-tcltk | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ruby | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ruby-devel | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ruby-doc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ruby-irb | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ruby-libs | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | ruby-tcltk | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-bigdecimal | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-io-console | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-json | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-minitest | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-psych | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-rake | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygem-rdoc | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygems | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | rubygems-devel | All versions, no fix (out of support scope) |