Security mailing lists by PureSourceCode

CVE-2024-27281

MEDIUM 4.5CVSS 3.1

RDoc RCE vulnerability with .rdoc_options

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.

Published
14 May 2024
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Deferred
Weakness
CWE-502CWE-74
Also known as
GHSA-592j-995h-p23j
Sources
NVDJSONOSV GHSA-592j-995h-p23jJSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 4.5 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 4.5 CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV RubyGems rdoc >= 6.3.3, < 6.3.4.1 6.3.4.1
OSV RubyGems rdoc >= 6.4.0, < 6.4.1.1 6.4.1.1
OSV RubyGems rdoc >= 6.5.0, < 6.5.1.1 6.5.1.1
OSV RubyGems rdoc >= 6.6.0, < 6.6.3.1 6.6.3.1

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 14 May 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Mar 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.