Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2025-27111 (Medium) detected in rack-2.2.11.gem, rack-3.1.10.gem - autoclosed #6771

Closed
mend-bolt-for-github bot opened this issue Mar 5, 2025 · 1 comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource

Comments

@mend-bolt-for-github
Copy link
Contributor

mend-bolt-for-github bot commented Mar 5, 2025

CVE-2025-27111 - Medium Severity Vulnerability

Vulnerable Libraries - rack-2.2.11.gem, rack-3.1.10.gem

rack-2.2.11.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.11.gem

Path to dependency file: /vagrant/chef/cookbooks/apt/Gemfile.lock

Path to vulnerable library: /tmp/containerbase/cache/.ruby/cache/rack-2.2.11.gem

Dependency Hierarchy:

  • chefspec-4.7.0.gem (Root Library)
    • chef-15.2.20.gem
      • chef-zero-15.0.11.gem
        • rack-2.2.11.gem (Vulnerable Library)
rack-3.1.10.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-3.1.10.gem

Path to dependency file: /vagrant/chef/cookbooks/java/Gemfile.lock

Path to vulnerable library: /tmp/containerbase/cache/.ruby/cache/rack-3.1.10.gem

Dependency Hierarchy:

  • berkshelf-2.0.5.gem (Root Library)
    • ridley-1.2.6.gem
      • winrm-1.1.3.gem
        • savon-0.9.5.gem
          • httpi-0.9.7.gem
            • rack-3.1.10.gem (Vulnerable Library)

Found in HEAD commit: df6abd16746dd640b3c635401d6c0ae253aeb212

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.5)

Base Score Metrics:

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2025-03-04

Fix Resolution: v2.2.12,v3.0.13,v3.1.11


Step up your Open Source Security Game with Mend here

@mend-bolt-for-github mend-bolt-for-github bot added the Mend: dependency security vulnerability Security vulnerability detected by WhiteSource label Mar 5, 2025
Copy link
Contributor Author

✔️ This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

@mend-bolt-for-github mend-bolt-for-github bot changed the title CVE-2025-27111 (Medium) detected in rack-2.2.11.gem, rack-3.1.10.gem CVE-2025-27111 (Medium) detected in rack-2.2.11.gem, rack-3.1.10.gem - autoclosed Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by WhiteSource
Projects
None yet
Development

No branches or pull requests

0 participants