CVE catalog

CVE-2024-27281

Ruby vulnerabilities

[CVE catalog]

Severity
Medium · CVSS 4.5CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
1.57% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby3.1bookworm3.1.2-7+deb12u1fixed
Debianruby3.1bookworm-security3.1.2-7+deb12u1fixed
Ubunturuby3.2noble3.2.3-1ubuntu0.24.04.1fixed
Ubuntulibruby3.2noble3.2.3-1ubuntu0.24.04.1fixed
Ubunturuby3.2-devnoble3.2.3-1ubuntu0.24.04.1fixed
Ubunturuby3.2-docnoble3.2.3-1ubuntu0.24.04.1fixed
Alpineruby3.163.1.5-r0fixed
Alpineruby3.173.1.5-r0fixed
Alpineruby3.183.2.4-r0fixed
Alpineruby3.193.2.4-r0fixed
Alpineruby3.203.3.1-r0fixed
Alpineruby3.213.3.1-r0fixed
Alpineruby3.223.3.1-r0fixed
Alpineruby3.233.3.1-r0fixed
Alpineruby3.243.3.1-r0fixed
Ubunturuby2.3pro2.3.0-1vulnerable
Ubunturuby2.3pro2.3.0-2vulnerable
Ubunturuby2.3pro2.3.0-4ubuntu2vulnerable
Ubunturuby2.3pro2.3.0-4ubuntu3vulnerable
Ubunturuby2.3pro2.3.0-5ubuntu1vulnerable
Ubunturuby2.3pro2.3.1-2~16.04vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.2vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.4vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.5vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.6vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.7vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.9vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.10vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.11vulnerable
Ubunturuby2.3pro2.3.1-2~16.04.12vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.13vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.14vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.15vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm1vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm2vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm3vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm4vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm5vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm6vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm7vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm8vulnerable
Ubunturuby2.3pro2.3.1-2~ubuntu16.04.16+esm9fixed
Ubunturuby2.5pro2.5.0~preview1-1ubuntu2vulnerable
Ubunturuby2.5pro2.5.0-4ubuntu1vulnerable
Ubunturuby2.5pro2.5.0-4ubuntu4vulnerable
Ubunturuby2.5pro2.5.0-5ubuntu1vulnerable
Ubunturuby2.5pro2.5.0-6ubuntu1vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.1vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.2vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.4vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.5vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.6vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.7vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.8vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.9vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.10vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.11vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.12vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.13vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.14vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.15vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.16vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.16+esm1vulnerable
Ubunturuby2.5pro2.5.1-1ubuntu1.16+esm3fixed
Ubunturuby2.720.042.7.0-1vulnerable
Ubunturuby2.720.042.7.0-2vulnerable
Ubunturuby2.720.042.7.0-3vulnerable
Ubunturuby2.720.042.7.0-4vulnerable
Ubunturuby2.720.042.7.0-4ubuntu1vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.1vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.2vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.3vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.4vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.5vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.6vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.7vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.8vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.9vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.10vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.11vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.12vulnerable
Ubunturuby2.720.042.7.0-5ubuntu1.13fixed
Ubunturuby3.022.043.0.2-5ubuntu1vulnerable
Ubunturuby3.022.043.0.2-7vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.1vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.2vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.3vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.4vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.5vulnerable
Ubunturuby3.022.043.0.2-7ubuntu2.6fixed
Ubunturuby3.224.043.2.3-1vulnerable
Ubunturuby3.224.043.2.3-1build2vulnerable
Ubunturuby3.224.043.2.3-1build3vulnerable
Ubunturuby3.224.043.2.3-1ubuntu0.24.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby3.1sourcebookworm3.1.2-7+deb12u1not yet assignedNot reported[1067803]
Ubunturuby3.2debnoble3.2.3-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubuntulibruby3.2debnoble3.2.3-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubunturuby3.2-devdebnoble3.2.3-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Ubunturuby3.2-docdebnoble3.2.3-1ubuntu0.24.04.1Not reportedNot reportedNot reported
Alpinerubyapk3.163.1.5-r0Not reportedALPINE-CVE-2024-27281Not reported
Alpinerubyapk3.173.1.5-r0Not reportedALPINE-CVE-2024-27281Not reported
Alpinerubyapk3.183.2.4-r0Not reportedALPINE-CVE-2024-27281Not reported
Alpinerubyapk3.193.2.4-r0Not reportedALPINE-CVE-2024-27281Not reported
Alpinerubyapk3.203.3.1-r0Not reportedALPINE-CVE-2024-27281Not reported
Alpinerubyapk3.213.3.1-r0Not reportedALPINE-CVE-2024-27281Not reported
Alpinerubyapk3.223.3.1-r0Not reportedALPINE-CVE-2024-27281Not reported
Alpinerubyapk3.233.3.1-r0Not reportedALPINE-CVE-2024-27281Not reported
Alpinerubyapk3.243.3.1-r0Not reportedALPINE-CVE-2024-27281Not reported
Ubunturuby2.3debpro2.3.1-2~ubuntu16.04.16+esm9Not reportedUSN-6838-2Not reported
Ubunturuby2.5debpro2.5.1-1ubuntu1.16+esm3Not reportedUSN-6838-2Not reported
Ubunturuby2.7deb20.042.7.0-5ubuntu1.13Not reportedUSN-6838-1Not reported
Ubunturuby3.0deb22.043.0.2-7ubuntu2.6Not reportedUSN-6838-1Not reported
Ubunturuby3.2deb24.043.2.3-1ubuntu0.24.04.1Not reportedUSN-6838-1Not reported

[Debian bug #1067803]

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

References