# CVE-2024-27281

- Priority: **Routine**
- Reason: Not severe (CVSS 4.5, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-05-08 · Modified: 2025-11-04
- Aliases: ALPINE-CVE-2024-27281, UBUNTU-CVE-2024-27281, USN-6838-2, DEBIAN-CVE-2024-27281, 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, GHSA-592j-995h-p23j
- Record: https://cvemate.com/vulnerability/CVE-2024-27281 · JSON: https://cvemate.com/vulnerability/CVE-2024-27281/json

## Description

```text
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.
```

## Signals

- CVSS: 4.5 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- EPSS: 1.571%, percentile 76.229%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 31)

- alpine ruby (Alpine Linux): \< 3.1.5-r0 \| \< 3.2.4-r0 \| \< 3.3.1-r0
- chainguard jruby-9.4 (Chainguard): \< 9.4.7.0-r0
- chainguard jruby-9.4-default-ruby (Chainguard): \< 9.4.7.0-r0
- chainguard ruby-3.1 (Chainguard): \< 3.1.4-r6
- chainguard ruby-3.2 (Chainguard): \< 3.2.3-r3
- chainguard ruby-3.2-dev (Chainguard): \< 3.2.3-r3
- chainguard ruby-3.2-doc (Chainguard): \< 3.2.3-r3
- chainguard ruby-3.3 (Chainguard): \< 3.3.0-r3
- chainguard ruby-3.3-base (Chainguard): \< 3.3.0-r3
- chainguard ruby-3.3-base-dev (Chainguard): \< 3.3.0-r3
- chainguard ruby-3.3-dev (Chainguard): \< 3.3.0-r3
- chainguard ruby-3.3-doc (Chainguard): \< 3.3.0-r3
- wolfi jruby-9.4 (Wolfi): \< 9.4.7.0-r0
- wolfi jruby-9.4-default-ruby (Wolfi): \< 9.4.7.0-r0
- wolfi ruby-3.1 (Wolfi): \< 3.1.4-r6
- wolfi ruby-3.2 (Wolfi): \< 3.2.3-r3
- wolfi ruby-3.2-dev (Wolfi): \< 3.2.3-r3
- wolfi ruby-3.2-doc (Wolfi): \< 3.2.3-r3
- wolfi ruby-3.3 (Wolfi): \< 3.3.0-r3
- wolfi ruby-3.3-base (Wolfi): \< 3.3.0-r3

## References (first 20 of 25)

- <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/package-announce@lists.fedoraproject.org/message/27LUWREIFTP3MQAW7QE4PJM4DPAQJWXF/>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/XYDHPHEZI7OQXTQKTDZHGZNPIJH7ZV5N/>
- <https://security.alpinelinux.org/vuln/CVE-2024-27281>
- <https://ubuntu.com/security/CVE-2024-27281>
- <https://www.cve.org/CVERecord?id=CVE-2024-27281>
- <https://ubuntu.com/security/notices/USN-6838-1>
- <https://ubuntu.com/security/notices/USN-6838-2>
- <https://security-tracker.debian.org/tracker/CVE-2024-27281>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-27281>
- <https://github.com/ruby/rdoc/commit/1254b0066f312ddbf7fae7a195e66ce5b3bc6656>
- <https://github.com/ruby/rdoc/commit/32ff6ba0bebd8ea26f569da5fd23be2937f6a644>
- <https://github.com/ruby/rdoc/commit/48617985e9fbc2825219d55f04e3e0e98d2923be>
- <https://github.com/ruby/rdoc/commit/811f125a4a0cc968e3eb18e16ea6c1a3b49a11bf>
- <https://github.com/ruby/rdoc/commit/a5de13bf0f0c26f8e764e82b5bf4bf8bffc7198e>
- <https://github.com/ruby/rdoc/commit/d22ba930f1f611dda531dba04cd3d2531bb3f8a5>
- <https://github.com/ruby/rdoc/commit/da7a0c7553ef7250ca665a3fecdc01dbaacbb43d>
- <https://github.com/ruby/rdoc/commit/e4a0e71e6f1032f8b4e5e58b4ef60d702c22ce17>

---

Data as of 2026-12-05T05:19:06.054Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
