CVE-2022-23634 | Information Exposure when using Puma with Rails

Puma is a Ruby/Rack web server built for parallelism. Prior to `puma` version `5.6.2`, `puma` may not always call `close` on the response body. Rails, prior to version `7.0.2.2`, depended on the response body being closed in order for its `CurrentAttributes` implementation to work correctly. The combination of these two behaviors (Puma not closing the body + Rails' Executor implementation) causes information leakage. This problem is fixed in Puma versions 5.6.2 and 4.3.11. This problem is fixed in Rails versions 7.02.2, 6.1.4.6, 6.0.4.6, and 5.2.6.2. Upgrading to a patched Rails _or_ Puma version fixes the vulnerability.

公開: 2022-02-11 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2022-23634 は中リスク(61.3/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 2.09%、79 パーセンタイル) 根拠: 直近 1 日で EPSS が +1.61% 上昇。悪用への関心が高まっている可能性があります。 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

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

CVE-2022-23634 の EPSS(Exploit Prediction Scoring System)スコア

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.48% 2.09% +1.61%
2 2026-05-11 0.44% 0.48% +0.04%
3 2026-04-07 0.44%

EPSS の全履歴 (全 25 件)

CVE-2022-23634 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
8.0 3.1 HIGH
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:C)
脆弱箇所を足がかりに、別コンポーネントや別権限域まで影響が広がりうる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
1.6 5.8 [email protected]
5.9 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N クリックして展開
攻撃ベクター (AV:N)
インターネットなど、ルーティングされたネットワーク越しに遠隔から悪用しうる。端末の前にいる必要はない。
攻撃の複雑さ (AC:H)
到達できても、タイミング・負荷・周辺設定など、揃わないと成功しない局面が多い。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:N)
改ざん・なりすましによる信頼毀損は軽微か、想定されない。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.2 3.6 [email protected]
4.3 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:N/A:N クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:M)
多少の有利条件は要るが、極端なレアケースではない。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:P)
機密性は部分的に損なわれる。
完全性への影響 (I:N)
完全性は損なわれない。
可用性への影響 (A:N)
可用性は損なわれない。
8.6 2.9 [email protected]

CVE-2022-23634 の弱点分類(列挙)

CVE-2022-23634 の GitHub Security Advisory

GHSA-rmj8-8hhh-gv5h · 深刻度: high · エコシステム: rubygems — Puma used with Rails may lead to Information Exposure

CVE-2022-23634 の OS トラッカー

vendor priority summary link
debian not yet assigned CVE-2022-23634 not yet assigned priority: Debian including 1 source packages (puma), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2022-23634
gentoo low CVE-2022-23634: 1 GLSA(s) (202208-28), 1 atom(s) (www-servers/puma); latest impact low. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-23634
redhat high https://access.redhat.com/security/cve/CVE-2022-23634
suse medium https://www.suse.com/security/cve/CVE-2022-23634/
ubuntu medium CVE-2022-23634 medium priority: Ubuntu including 1 source packages (puma), 13 status rows across 13 suites (focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 6, ignored 4, released 2, needs-triage 1. https://ubuntu.com/security/CVE-2022-23634

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

ベンダー 製品 バージョン 生の CPE
puma puma < 4.3.11 cpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:*
puma puma >= 5.0.0, < 5.6.2 cpe:2.3:a:puma:puma:*:*:*:*:*:ruby:*:*
rubyonrails rails >= 5.0.0, < 5.2.6.2 cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
rubyonrails rails >= 6.0.0, < 6.0.4.6 cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
rubyonrails rails >= 6.1.0, < 6.1.4.6 cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
rubyonrails rails >= 7.0.0, < 7.0.2.2 cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
debian debian_linux 9.0 cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
debian debian_linux 11.0 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*
fedoraproject fedora 35 cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
fedoraproject fedora 36 cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
fedoraproject fedora 37 cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*

CVE-2022-23634 の参考情報

URL タグ
https://github.com/advisories/GHSA-rmj8-8hhh-gv5h Third Party Advisory
https://github.com/advisories/GHSA-wh98-p28r-vrc9 Mitigation Not Applicable Third Party Advisory
https://github.com/puma/puma/commit/b70f451fe8abc0cff192c065d549778452e155bb Patch Third Party Advisory
https://github.com/puma/puma/security/advisories/GHSA-rmj8-8hhh-gv5h Patch Third Party Advisory
https://groups.google.com/g/ruby-security-ann/c/FkTM-_7zSNA/m/K2RiMJBlBAAJ?utm_medium=email&utm_source=footer&pli=1 Mailing List Mitigation Patch Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/05/msg00034.html Mailing List Third Party Advisory
https://lists.debian.org/debian-lts-announce/2022/08/msg00015.html Mailing List Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/F6YWGIIKL7KKTS3ZOAYMYPC7D6WQ5OA5/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7NESIBFCNSR3XH7LXDPKVMSUBNUB43G/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TUBFJ44NCKJ34LECZRAP4N5VL6USJSIB/
https://security.gentoo.org/glsa/202208-28 Third Party Advisory
https://www.debian.org/security/2022/dsa-5146 Third Party Advisory
cvelogic Threat Intelligence