CVE-2024-27281: jruby-9.4 Deserialization of Untrusted Data
Vulnerability summary
CVE-2024-27281 is a medium (CVSS 4.5) Deserialization of Untrusted Data vulnerability in jruby-9.4. EPSS estimates a 1.57% chance of exploitation in the next 30 days, higher than 75% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 11 · Related 9Timeline
- 08-05-2024PublishedVulnerability first disclosed.
- 04-11-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
11 scores · 8 sources · 2 versions- OSV · ChainguardEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- OSV · RubygemsEcosystem advisory · calculated2.3LowCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
- OSV · AlpineEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · DebianEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · WolfiEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- OSV · RubygemsEcosystem advisory · calculated4.5MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
- NVDNIST4.5MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
EPSS trend
Probability
1.57%
Chance of exploitation in the next 30 days
Percentile
75%
Versus all other CVEs
30-day change
0.00 pp
From 1.57% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard11 products
- jruby-9.4< 9.4.7.0-r0
- jruby-9.4-default-ruby< 9.4.7.0-r0
- ruby-3.1< 3.1.4-r6
- ruby-3.2< 3.2.3-r3
- ruby-3.2-dev< 3.2.3-r3
Wolfi11 products
- jruby-9.4< 9.4.7.0-r0
- jruby-9.4-default-ruby< 9.4.7.0-r0
- ruby-3.1< 3.1.4-r6
- ruby-3.2< 3.2.3-r3
- ruby-3.2-dev< 3.2.3-r3
Ubuntu6 products
- jrubyAll versions (No fix recorded)
- ruby2.3< 2.3.1-2~ubuntu16.04.16+esm9
- ruby2.5< 2.5.1-1ubuntu1.16+esm3
- ruby2.7< 2.7.0-5ubuntu1.13
- ruby3.0< 3.0.2-7ubuntu2.6
Alpine1 product
- ruby< 3.1.5-r0 | < 3.2.4-r0 | < 3.3.1-r0
Debian1 product
- ruby3.1< 3.1.2-7+deb12u1
RubyGems1 product
- rdoc≥ 6.3.3, < 6.3.4.1 | ≥ 6.4.0, < 6.4.1.1 | ≥ 6.5.0, < 6.5.1.1 | ≥ 6.6.0, < 6.6.3.1
6 vendors · 31 products
References
25 linksShow all 25 references
- github.com/ruby/rdocPACKAGE