CVE-2025-61771 | Rack's multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion)

Rack is a modular Ruby web server interface. In versions prior to 2.2.19, 3.1.17, and 3.2.2, ``Rack::Multipart::Parser` stores non-file form fields (parts without a `filename`) entirely in memory as Ruby `String` objects. A single large text field in a multipart/form-data request (hundreds of megabytes or more) can consume equivalent process memory, potentially leading to out-of-memory (OOM) conditions and denial of service (DoS). Attackers can send large non-file fields to trigger excessive memory usage. Impact scales with request size and concurrency, potentially leading to worker crashes or severe garbage-collection overhead. All Rack applications processing multipart form submissions are affected. Versions 2.2.19, 3.1.17, and 3.2.2 enforce a reasonable size cap for non-file fields (e.g., 2 MiB). Workarounds include restricting maximum request body size at the web-server or proxy layer (e.g., Nginx `client_max_body_size`) and validating and rejecting unusually large form fields at the application level.

公開: 2025-10-07 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2025-61771 は中リスク(44.3/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.52%、40 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2025-61771 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.05% 0.52% +0.46%
2 2025-10-13 0.04% 0.05% +0.01%
3 2025-10-08 0.04%

EPSS の全履歴 (全 3 件)

CVE-2025-61771 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:N)
機微情報の漏えいは想定しにくい。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
3.9 3.6 [email protected]

CVE-2025-61771 の弱点分類(列挙)

CVE-2025-61771 の GitHub Security Advisory

GHSA-w9pc-fmgc-vxvw · 深刻度: high · エコシステム: rubygems — Rack: Multipart parser buffers large non‑file fields entirely in memory, enabling DoS (memory exhaustion)

CVE-2025-61771 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2025-61771 not yet assigned priority: Debian including 1 source packages (ruby-rack), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2025-61771
redhat high https://access.redhat.com/security/cve/CVE-2025-61771
suse high CVE-2025-61771 severity important: SUSE including 10 source package names (pcs-0.10.18-2.el8_10.7, pcs-0.11.10-1.el9_7.1, …), 20 product×package rows across 9 product lines (SUSE Liberty Linux 8, SUSE Liberty Linux 9, … (9 product lines)): Known Not Affected 14, Fixed 6. https://www.suse.com/security/cve/CVE-2025-61771/
ubuntu medium CVE-2025-61771 medium priority: Ubuntu including 1 source packages (ruby-rack), 9 status rows across 9 suites (bionic, focal, jammy, noble, plucky, questing, trusty, upstream, xenial): ignored 5, released 3, needs-triage 1. https://ubuntu.com/security/CVE-2025-61771

CVE-2025-61771 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
rack rack < 2.2.19 cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
rack rack >= 3.1.0, < 3.1.17 cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*
rack rack >= 3.2.0, < 3.2.2 cpe:2.3:a:rack:rack:*:*:*:*:*:ruby:*:*

CVE-2025-61771 の参考情報

cvelogic Threat Intelligence