ManageIQ / ManageIQ/dbus_api_service

CVE-2025-27111 (Medium) detected in rack-2.2.9.gem

Open
#58 2 comments 0 reactions 0 assignees View on GitHub
Mend: dependency security vulnerability stale
Dominant language
Ruby
Stars
1
Forks
12
PR merge metrics
No merged PRs in 30d

Description

## CVE-2025-27111 - Medium Severity Vulnerability
Vulnerable Library - rack-2.2.9.gem

Rack provides a minimal, modular and adaptable interface for developing
web applications in Ruby. By wrapping HTTP requests and responses in
the simplest way possible, it unifies and distills the API for web
servers, web frameworks, and software in between (the so-called
middleware) into a single method call.


Library home page: https://rubygems.org/gems/rack-2.2.9.gem


Path to dependency file: /Gemfile.lock


Path to vulnerable library: /home/wss-scanner/.gem/ruby/3.2.0/cache/rack-2.2.9.gem


Dependency Hierarchy:
- rack-test-2.1.0.gem (Root Library)
- :x: **rack-2.2.9.gem** (Vulnerable Library)

Found in base branch: master



Vulnerability Details



Rack is a modular Ruby web server interface. The Rack::Sendfile middleware logs unsanitised header values from the X-Sendfile-Type header. An attacker can exploit this by injecting escape sequences (such as newline characters) into the header, resulting in log injection. This vulnerability is fixed in 2.2.12, 3.0.13, and 3.1.11.

Publish Date: 2025-03-04

URL: CVE-2025-27111



CVSS 3 Score Details (5.3)

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


For more information on CVSS3 Scores, click here.


Suggested Fix

Type: Upgrade version


Origin: https://github.com/advisories/GHSA-8cgq-6mh2-7j6v


Release Date: 2025-03-04


Fix Resolution: 2.2.12,3.1.11,3.0.13,v2.2.12,v3.0.13,v3.1.11

***
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)

Contributor guide

Open the contributing guide

Research direction

Start with Gemfile.lock and the rack-test dependency hierarchy shown in the issue. Update Rack from 2.2.9 to a fixed release, such as 2.2.12, then verify that dependency resolution no longer selects the vulnerable version and the project checks pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
backend, security
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.