ManageIQ / ManageIQ/dbus_api_service
CVE-2024-39908 (Medium) detected in rexml-3.2.8.gem
Nobody has claimed this yet.
- Dominant language
- Ruby
- Stars
- 1
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
CVE-2024-39908 - Medium Severity Vulnerability
Vulnerable Library - rexml-3.2.8.gem
An XML toolkit for Ruby
Library home page: https://rubygems.org/gems/rexml-3.2.8.gem
Path to dependency file: /Gemfile.lock
Path to vulnerable library: /home/wss-scanner/.gem/ruby/3.2.0/cache/rexml-3.2.8.gem
Dependency Hierarchy:
- ruby-dbus-0.23.1.gem (Root Library)
- ❌ rexml-3.2.8.gem (Vulnerable Library)
Found in base branch: master
Vulnerability Details
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.1 has some DoS vulnerabilities when it parses an XML that has many specific characters such as <, 0 and %>. If you need to parse untrusted XMLs, you many be impacted to these vulnerabilities. The REXML gem 3.3.2 or later include the patches to fix these vulnerabilities. Users are advised to upgrade. Users unable to upgrade should avoid parsing untrusted XML strings.
Publish Date: 2024-07-16
URL: CVE-2024-39908
CVSS 3 Score Details (4.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: Low
- Privileges Required: None
- User Interaction: Required
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: Low
Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-4xqq-m2hx-25v8
Release Date: 2024-07-16
Fix Resolution: rexml - 3.3.2
Step up your Open Source Security Game with Mend here
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with /Gemfile.lock and inspect the ruby-dbus-0.23.1 dependency path that resolves to rexml-3.2.8. Update the resolved rexml version to 3.3.2 or later, then verify dependency resolution and run the repository's available tests. Done means the vulnerable rexml version is no longer present in the lockfile.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ruby
- Domain
- security
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100