CVE-2024-31228 | Denial-of-service due to unbounded pattern matching in Redis

Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially crafted, long string match patterns on supported commands such as `KEYS`, `SCAN`, `PSUBSCRIBE`, `FUNCTION LIST`, `COMMAND LIST` and ACL definitions. Matching of extremely long patterns may result in unbounded recursion, leading to stack overflow and process crash. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

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

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

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

CVE-2024-31228 の EPSS(Exploit Prediction Scoring System)スコア

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 1.59% 1.01% -0.58%
2 2026-06-11 1.37% 1.59% +0.22%
3 2026-03-30 1.37%

EPSS の全履歴 (全 15 件)

CVE-2024-31228 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

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

CVE-2024-31228 の弱点分類(列挙)

CVE-2024-31228 の OS トラッカー

vendor priority summary link
alpine medium CVE-2024-31228: 3 source package rows (redict, redis, valkey); 91 state rows across 11 repos (3.17-main, 3.18-main, 3.19-main, 3.20-community, 3.20-main, 3.21-community, 3.21-main, 3.22-community, 3.22-main, edge-community, edge-main); fixed 16, open 75. https://security.alpinelinux.org/vuln/CVE-2024-31228
debian not yet assigned CVE-2024-31228 not yet assigned priority: Debian including 3 source packages (redict, redis, valkey), 10 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 10. https://security-tracker.debian.org/tracker/CVE-2024-31228
gentoo high CVE-2024-31228: 1 GLSA(s) (202511-05), 2 atom(s) (dev-db/redict, dev-db/redis); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2024-31228
redhat medium https://access.redhat.com/security/cve/CVE-2024-31228
suse medium CVE-2024-31228 severity moderate: SUSE including 21 source package names (redis-6.0.14-150200.6.32.1, redis-6.2.17-1.module+el8.10.0+22680+748527fd, …), 39 product×package rows across 23 product lines (SUSE Enterprise Storage 7.1, SUSE Liberty Linux 8, … (23 product lines)): Fixed 39. https://www.suse.com/security/cve/CVE-2024-31228/
ubuntu medium CVE-2024-31228 medium priority: Ubuntu including 1 source packages (redis), 10 status rows across 10 suites (bionic, focal, jammy, noble, oracular, plucky, questing, trusty, upstream, xenial): released 8, ignored 1, not-affected 1. https://ubuntu.com/security/CVE-2024-31228

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

ベンダー 製品 バージョン 生の CPE
redis redis >= 2.2.5, < 6.2.16 cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
redis redis >= 7.2.0, < 7.2.6 cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
redis redis 7.4.0 cpe:2.3:a:redis:redis:7.4.0:-:*:*:*:*:*:*
redis redis 7.4.0 cpe:2.3:a:redis:redis:7.4.0:rc1:*:*:*:*:*:*
redis redis 7.4.0 cpe:2.3:a:redis:redis:7.4.0:rc2:*:*:*:*:*:*

CVE-2024-31228 の参考情報

cvelogic Threat Intelligence