turkdevops / snyk

CLI and build-time tool to find & fix known vulnerabilities in open-source dependencies
https://snyk.io
Other
1 stars 2 forks source link

CVE-2024-26141 (Medium) detected in rack-1.6.4.gem, rack-1.6.5.gem #324

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

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

CVE-2024-26141 - Medium Severity Vulnerability

Vulnerable Libraries - rack-1.6.4.gem, rack-1.6.5.gem

rack-1.6.4.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. Also see http://rack.github.io/.

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

Path to dependency file: /test/acceptance/workspaces/mono-repo-project-manifests-only/Gemfile.lock

Path to vulnerable library: /test/acceptance/workspaces/mono-repo-project-manifests-only/Gemfile.lock,/test/acceptance/workspaces/mono-repo-project/Gemfile.lock

Dependency Hierarchy: - actionpack-4.2.5.gem (Root Library) - :x: **rack-1.6.4.gem** (Vulnerable Library)

rack-1.6.5.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. Also see http://rack.github.io/.

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

Path to dependency file: /test/acceptance/workspaces/large-mono-repo/bundler-app/Gemfile.lock

Path to vulnerable library: /test/acceptance/workspaces/large-mono-repo/bundler-app/Gemfile.lock

Dependency Hierarchy: - :x: **rack-1.6.5.gem** (Vulnerable Library)

Found in HEAD commit: 9505f4ca92405cc9273dc3726c2d274ce28a4407

Found in base branch: ALL_HANDS/major-secrets

Vulnerability Details

Rack is a modular Ruby web server interface. Carefully crafted Range headers can cause a server to respond with an unexpectedly large response. Responding with such large responses could lead to a denial of service issue. Vulnerable applications will use the `Rack::File` middleware or the `Rack::Utils.byte_ranges` methods (this includes Rails applications). The vulnerability is fixed in 3.0.9.1 and 2.2.8.1.

Publish Date: 2024-02-29

URL: CVE-2024-26141

CVSS 3 Score Details (5.8)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-26141

Release Date: 2024-02-29

Fix Resolution: rack - 2.2.8.1,3.0.9.1


Step up your Open Source Security Game with Mend here