CVE-2026-34830 (Medium) detected in rack-3.1.16.gem
还没有人认领这个 Issue。
评估
调研方向
从 Gemfile.lock 和 vendor/cache/rack-3.1.16.gem 开始,易受攻击的 Rack 版本记录在其中。将 Rack 升级到列出的某个已修复版本,刷新依赖项构件,并确认不再有易受攻击的 3.1.16 软件包残留。
由索引模型根据 Issue 内容生成。
描述
CVE-2026-34830 - Medium Severity Vulnerability
Vulnerable Library - rack-3.1.16.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.16.gem
Path to dependency file: /Gemfile.lock
Path to vulnerable library: /vendor/cache/rack-3.1.16.gem
Dependency Hierarchy:
- manageiq-style-1.3.3.gem (Root Library)
- rubocop-rails-2.32.0.gem
- ❌ rack-3.1.16.gem (Vulnerable Library)
- rubocop-rails-2.32.0.gem
Found in base branch: master
Vulnerability Details
Rack is a modular Ruby web server interface. Prior to versions 2.2.23, 3.1.21, and 3.2.6, Rack::Sendfile#map_accel_path interpolates the value of the X-Accel-Mapping request header directly into a regular expression when rewriting file paths for X-Accel-Redirect. Because the header value is not escaped, an attacker who can supply X-Accel-Mapping to the backend can inject regex metacharacters and control the generated X-Accel-Redirect response header. In deployments using Rack::Sendfile with x-accel-redirect, this can allow an attacker to cause nginx to serve unintended files from configured internal locations. This issue has been patched in versions 2.2.23, 3.1.21, and 3.2.6.
Publish Date: 2026-04-02
URL: CVE-2026-34830
CVSS 3 Score Details (5.9)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Network
- Attack Complexity: High
- Privileges Required: None
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: High
- Integrity Impact: None
- Availability Impact: None
Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-qv7j-4883-hwh7
Release Date: 2026-04-02
Fix Resolution: rack - 3.2.6,rack - 2.2.23,rack - 3.1.21
Step up your Open Source Security Game with Mend here
- 主要语言
- Ruby
- 星标
- 30
- 派生
- 27
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ManageIQ/linux_admin 的其他 Issue
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 68/100
ManageIQ/linux_admin#291 ·
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 75/100
ManageIQ/linux_admin#290 ·
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 72/100
ManageIQ/linux_admin#289 ·
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 68/100
ManageIQ/linux_admin#288 ·
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 76/100
ManageIQ/linux_admin#286 ·
查看 ManageIQ/linux_admin 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 67/100
taskcluster/taskcluster#9284 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
-
Unconfirmed users who reset their password are stuck on sign in with no way to send confirmation未关闭
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复