tt9133github / ForTest2

0 stars 0 forks source link

CVE-2024-27281 (Medium) detected in rdoc-6.2.1.gem #404

Open mend-bolt-for-github[bot] opened 3 months ago

mend-bolt-for-github[bot] commented 3 months ago

CVE-2024-27281 - Medium Severity Vulnerability

Vulnerable Library - rdoc-6.2.1.gem

RDoc produces HTML and command-line documentation for Ruby projects. RDoc includes the +rdoc+ and +ri+ tools for generating and displaying documentation from the command-line.

Library home page: https://rubygems.org/gems/rdoc-6.2.1.gem

Path to vulnerable library: /nges/vendor/bundle/ruby/2.5.0/cache/rdoc-6.2.1.gem,/ependencies/vendor/bundle/ruby/2.5.0/cache/rdoc-6.2.1.gem

Dependency Hierarchy: - :x: **rdoc-6.2.1.gem** (Vulnerable Library)

Found in base branch: master

Vulnerability Details

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.

Publish Date: 2024-05-14

URL: CVE-2024-27281

CVSS 3 Score Details (4.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: High - Privileges Required: None - User Interaction: Required - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: Low

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://bugzilla.redhat.com/show_bug.cgi?id=2270749

Release Date: 2024-05-14

Fix Resolution: rdoc - 6.3.4.1,6.4.1.1,6.5.1.1,6.6.3.1


Step up your Open Source Security Game with Mend here