cbcvebase.
CVE-2024-27281
published 2024-05-14

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…

PriorityP427medium4.5CVSS 3.1
AVLACHPRNUIRSUCLILAL
EPSS
1.57%
72.3th percentile
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.

Affected

14 ranges
VendorProductVersion rangeFixed in
debianruby2.7< ruby2.7 2.7.4-1+deb11u2 (bullseye)ruby2.7 2.7.4-1+deb11u2 (bullseye)
debianruby3.1< ruby2.7 2.7.4-1+deb11u2 (bullseye)ruby2.7 2.7.4-1+deb11u2 (bullseye)
msrcazl3_ruby_3.3.0-4_on_azure_linux_3.0
msrcazl3_ruby_3.3.3-1_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_ruby_3.1.4-4_on_cbl_mariner_2.0
msrccbl2_ruby_3.1.4-9_on_cbl_mariner_2.0
msrccbl_mariner_2.0_arm
msrccbl_mariner_2.0_x64
ruby-langrdoc>= 6.3.3 < 6.3.4.16.3.4.1
ruby-langrdoc>= 6.4.0 < 6.4.1.16.4.1.1
ruby-langrdoc>= 6.5.0 < 6.5.1.16.5.1.1
ruby-langrdoc>= 6.6.0 < 6.6.3.16.6.3.1

CVSS provenance

nvdv3.14.5MEDIUMCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
osv4.5MEDIUM
vendor_debian4.5MEDIUM
vendor_msrc4.5MEDIUM
vendor_redhat4.5MEDIUM
vendor_ubuntu4.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.