ADVISORIES

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

    Medium CVE-2024-27281 Amazon Linux Updated 18 September 2024
  • ALAS2023-2024-704

    Amazon Linux 2023 - ALAS2023-2024-704: Medium priority package update for ruby3.2

    Medium CVE-2024-27281CVE-2024-27282 Amazon Linux Updated 19 August 2024
  • 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…

    CVE-2024-27281 Alpine Updated 2 November 2026
  • ALPINE-EDGE-CVE-2024-27281
    CVE-2024-27281 Alpine Updated 18 November 2026
  • ALSA-2024:3500

    Moderate: ruby:3.0 security update

    CVE-2021-33621CVE-2023-28755CVE-2023-28756CVE-2024-27280 AlmaLinux Updated 29 October 2026
  • ALSA-2024:3546

    Moderate: ruby:3.1 security, bug fix, and enhancement update

    CVE-2024-27280CVE-2024-27281CVE-2024-27282 AlmaLinux Updated 29 October 2026
  • ALSA-2024:3668

    Moderate: ruby:3.1 security, bug fix, and enhancement update

    CVE-2024-27280CVE-2024-27281CVE-2024-27282 AlmaLinux Updated 29 October 2026
  • ALSA-2024:3670

    Moderate: ruby:3.3 security, bug fix, and enhancement update

    CVE-2024-27280CVE-2024-27281CVE-2024-27282 AlmaLinux Updated 29 October 2026
  • ALSA-2024:3671

    Moderate: ruby:3.3 security, bug fix, and enhancement update

    CVE-2024-27280CVE-2024-27281CVE-2024-27282 AlmaLinux Updated 29 October 2026
  • ALSA-2024:3838

    Moderate: ruby security update

    CVE-2021-33621CVE-2023-28755CVE-2023-28756CVE-2024-27280 AlmaLinux Updated 29 October 2026
  • ALSA-2024:4499

    Moderate: ruby security update

    CVE-2023-28755CVE-2023-36617CVE-2024-27280CVE-2024-27281 AlmaLinux Updated 29 October 2026
  • AZL-40523

    CVE-2024-27281 affecting package ruby for versions less than 3.3.3-1

    CVE-2024-27281 Azure Linux Updated 21 April 2026
  • AZL-40675

    CVE-2024-27281 affecting package ruby for versions less than 3.1.4-4

    CVE-2024-27281 Azure Linux Updated 21 April 2026
  • CGA-2c9w-3x8c-4xhh
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-2f96-8vrv-68c3
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-2q26-gh5g-g342
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-36m6-wc83-h267
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-38fq-v7jw-795p
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-47jh-4vx7-fpjj
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-4pvh-rxx2-w9qp
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-55cc-9gwv-gjhf
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-65mw-c2v2-3gq3
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-66mv-hxc2-hpvc
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-6g3w-h6r2-qjh2
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-cm5j-8pjj-c5w4
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-fx3v-qf6c-hxmj
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-gcpj-jmxp-8mwm
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-hmmf-9w7c-9q45
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-pqg3-wfx5-68f9
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-q749-r5qw-6895
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-rcvg-5vr2-4x3x
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-v576-2rqj-3vhx
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-v74g-5543-mxjf
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-v78f-2v4v-6g7f
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • CGA-wfhv-wpgw-gwp7
    CVE-2024-27281 ChainguardWolfi Updated 5 November 2026
  • 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…

    CVE-2024-27281 Debian Updated 2 November 2026
  • DLA-3858-1

    ruby2.7 - security update

    CVE-2021-33621CVE-2022-28739CVE-2023-28755CVE-2023-28756 Debian Updated 20 November 2026
  • DSA-5677-1

    ruby3.1 - security update

    CVE-2024-27280CVE-2024-27281CVE-2024-27282 Debian Updated 20 November 2026
  • ELSA-2024-3500

    ELSA-2024-3500: ruby:3.0 security update (MODERATE)

    Moderate CVE-2021-33621CVE-2023-28755CVE-2023-28756CVE-2024-27280 Oracle Linux Updated 31 May 2024
  • ELSA-2024-3546

    ELSA-2024-3546: ruby:3.1 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2024-27280CVE-2024-27281CVE-2024-27282 Oracle Linux Updated 3 June 2024
  • ELSA-2024-3668

    ELSA-2024-3668: ruby:3.1 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2024-27280CVE-2024-27281CVE-2024-27282 Oracle Linux Updated 6 June 2024
  • ELSA-2024-3670

    ELSA-2024-3670: ruby:3.3 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2024-27280CVE-2024-27281CVE-2024-27282 Oracle Linux Updated 7 June 2024
  • ELSA-2024-3671

    ELSA-2024-3671: ruby:3.3 security, bug fix, and enhancement update (MODERATE)

    Moderate CVE-2024-27280CVE-2024-27281CVE-2024-27282 Oracle Linux Updated 6 June 2024
  • ELSA-2024-3838

    ELSA-2024-3838: ruby security update (MODERATE)

    Moderate CVE-2021-33621CVE-2023-28755CVE-2023-28756CVE-2024-27280 Oracle Linux Updated 13 June 2024
  • ELSA-2024-4499

    ELSA-2024-4499: ruby security update (MODERATE)

    Moderate CVE-2023-36617CVE-2024-27280CVE-2024-27281CVE-2024-27282 Oracle Linux Updated 15 July 2024
  • GHSA-592j-995h-p23j

    RDoc RCE vulnerability with .rdoc_options

    Low CVE-2024-27281 RubyGems Updated 10 September 2026
  • OESA-2024-1433

    ruby security update

    Medium CVE-2024-27280CVE-2024-27281 openEuler Updated 18 August 2026
  • RHSA-2024:3500

    Red Hat Security Advisory: ruby:3.0 security update

    CVE-2021-33621CVE-2023-28755CVE-2023-28756CVE-2024-27280 Red Hat Updated 24 November 2026
  • RHSA-2024:3546

    Red Hat Security Advisory: ruby:3.1 security, bug fix, and enhancement update

    CVE-2024-27280CVE-2024-27281CVE-2024-27282 Red Hat Updated 7 May 2026
  • RHSA-2024:3668

    Red Hat Security Advisory: ruby:3.1 security, bug fix, and enhancement update

    CVE-2024-27280CVE-2024-27281CVE-2024-27282 Red Hat Updated 7 May 2026
  • RHSA-2024:3670

    Red Hat Security Advisory: ruby:3.3 security, bug fix, and enhancement update

    CVE-2024-27280CVE-2024-27281CVE-2024-27282 Red Hat Updated 7 May 2026
  • RHSA-2024:3671

    Red Hat Security Advisory: ruby:3.3 security, bug fix, and enhancement update

    CVE-2024-27280CVE-2024-27281CVE-2024-27282 Red Hat Updated 7 May 2026
  • RHSA-2024:3838

    Red Hat Security Advisory: ruby security update

    CVE-2021-33621CVE-2023-28755CVE-2023-28756CVE-2024-27280 Red Hat Updated 24 November 2026
  • RHSA-2024:4499

    Red Hat Security Advisory: ruby security update

    CVE-2023-36617CVE-2024-27280CVE-2024-27281CVE-2024-27282 Red Hat Updated 13 November 2026
  • RHVEX-CVE-2024-27281

    ruby: RCE vulnerability with .rdoc_options in RDoc

    Moderate CVE-2024-27281 Red Hat Updated 24 November 2026
  • RLSA-2024:3668

    Moderate: ruby:3.1 security, bug fix, and enhancement update

    CVE-2024-27280CVE-2024-27281CVE-2024-27282 Rocky Linux Updated 9 October 2025
  • RLSA-2024:3670

    Moderate: ruby:3.3 security, bug fix, and enhancement update

    CVE-2024-27280CVE-2024-27281CVE-2024-27282 Rocky Linux Updated 4 February 2026
  • RLSA-2024:3671

    Moderate: ruby:3.3 security, bug fix, and enhancement update

    CVE-2024-27280CVE-2024-27281CVE-2024-27282 Rocky Linux Updated 9 October 2025
  • RLSA-2024:4499

    Moderate: ruby security update

    CVE-2023-36617CVE-2024-27280CVE-2024-27281CVE-2024-27282 Rocky Linux Updated 5 February 2026
  • 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…

    CVE-2024-27281 Ubuntu Updated 17 October 2026
  • USN-6838-1

    ruby2.7, ruby3.0, ruby3.1, ruby3.2 vulnerabilities

    CVE-2024-27281CVE-2024-27282 Ubuntu Updated 27 April 2026
  • USN-6838-2

    ruby2.3, ruby2.5 vulnerability

    CVE-2024-27281 Ubuntu Updated 25 June 2026

References