Vulnerability
CVE-2024-27281
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.
62 advisories report this vulnerability, across 13 ecosystems.
Advisories
-
ALAS2-2024-2634
Amazon Linux 2 2017.12 - ALAS2-2024-2634: medium priority package update for ruby
-
ALAS2023-2024-704
Amazon Linux 2023 - ALAS2023-2024-704: Medium priority package update for ruby3.2
-
ALPINE-CVE-2024-27281
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…
- ALPINE-EDGE-CVE-2024-27281
-
ALSA-2024:3500
Moderate: ruby:3.0 security update
-
ALSA-2024:3546
Moderate: ruby:3.1 security, bug fix, and enhancement update
-
ALSA-2024:3668
Moderate: ruby:3.1 security, bug fix, and enhancement update
-
ALSA-2024:3670
Moderate: ruby:3.3 security, bug fix, and enhancement update
-
ALSA-2024:3671
Moderate: ruby:3.3 security, bug fix, and enhancement update
-
ALSA-2024:3838
Moderate: ruby security update
-
ALSA-2024:4499
Moderate: ruby security update
-
AZL-40523
CVE-2024-27281 affecting package ruby for versions less than 3.3.3-1
-
AZL-40675
CVE-2024-27281 affecting package ruby for versions less than 3.1.4-4
- CGA-2c9w-3x8c-4xhh
- CGA-2f96-8vrv-68c3
- CGA-2q26-gh5g-g342
- CGA-36m6-wc83-h267
- CGA-38fq-v7jw-795p
- CGA-47jh-4vx7-fpjj
- CGA-4pvh-rxx2-w9qp
- CGA-55cc-9gwv-gjhf
- CGA-65mw-c2v2-3gq3
- CGA-66mv-hxc2-hpvc
- CGA-6g3w-h6r2-qjh2
- CGA-cm5j-8pjj-c5w4
- CGA-fx3v-qf6c-hxmj
- CGA-gcpj-jmxp-8mwm
- CGA-hmmf-9w7c-9q45
- CGA-pqg3-wfx5-68f9
- CGA-q749-r5qw-6895
- CGA-rcvg-5vr2-4x3x
- CGA-v576-2rqj-3vhx
- CGA-v74g-5543-mxjf
- CGA-v78f-2v4v-6g7f
- CGA-wfhv-wpgw-gwp7
-
DEBIAN-CVE-2024-27281
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…
-
DLA-3858-1
ruby2.7 - security update
-
DSA-5677-1
ruby3.1 - security update
-
ELSA-2024-3500
ELSA-2024-3500: ruby:3.0 security update (MODERATE)
-
ELSA-2024-3546
ELSA-2024-3546: ruby:3.1 security, bug fix, and enhancement update (MODERATE)
-
ELSA-2024-3668
ELSA-2024-3668: ruby:3.1 security, bug fix, and enhancement update (MODERATE)
-
ELSA-2024-3670
ELSA-2024-3670: ruby:3.3 security, bug fix, and enhancement update (MODERATE)
-
ELSA-2024-3671
ELSA-2024-3671: ruby:3.3 security, bug fix, and enhancement update (MODERATE)
-
ELSA-2024-3838
ELSA-2024-3838: ruby security update (MODERATE)
-
ELSA-2024-4499
ELSA-2024-4499: ruby security update (MODERATE)
-
GHSA-592j-995h-p23j
RDoc RCE vulnerability with .rdoc_options
-
OESA-2024-1433
ruby security update
-
RHSA-2024:3500
Red Hat Security Advisory: ruby:3.0 security update
-
RHSA-2024:3546
Red Hat Security Advisory: ruby:3.1 security, bug fix, and enhancement update
-
RHSA-2024:3668
Red Hat Security Advisory: ruby:3.1 security, bug fix, and enhancement update
-
RHSA-2024:3670
Red Hat Security Advisory: ruby:3.3 security, bug fix, and enhancement update
-
RHSA-2024:3671
Red Hat Security Advisory: ruby:3.3 security, bug fix, and enhancement update
-
RHSA-2024:3838
Red Hat Security Advisory: ruby security update
-
RHSA-2024:4499
Red Hat Security Advisory: ruby security update
-
RHVEX-CVE-2024-27281
ruby: RCE vulnerability with .rdoc_options in RDoc
-
RLSA-2024:3668
Moderate: ruby:3.1 security, bug fix, and enhancement update
-
RLSA-2024:3670
Moderate: ruby:3.3 security, bug fix, and enhancement update
-
RLSA-2024:3671
Moderate: ruby:3.3 security, bug fix, and enhancement update
-
RLSA-2024:4499
Moderate: ruby security update
-
UBUNTU-CVE-2024-27281
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…
-
USN-6838-1
ruby2.7, ruby3.0, ruby3.1, ruby3.2 vulnerabilities
-
USN-6838-2
ruby2.3, ruby2.5 vulnerability
References
- https://hackerone.com/reports/1187477
- https://www.ruby-lang.org/en/news/2024/03/21/rce-rdoc-cve-2024-27281/
- https://lists.debian.org/debian-lts-announce/2024/09/msg00000.html
- https://lists.fedoraproject.org/archives/list/[email protected]/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/
- https://lists.fedoraproject.org/archives/list/[email protected]/message/XYDHPHEZI7OQXTQKTDZHGZNPIJH7ZV5N/