CVE-2022-24735 | Lua scripts can be manipulated to overcome ACL rules in Redis

Exp

Redis is an in-memory database that persists on disk. By exploiting weaknesses in the Lua script execution environment, an attacker with access to Redis prior to version 7.0.0 or 6.2.7 can inject Lua code that will execute with the (potentially higher) privileges of another Redis user. The Lua script execution environment in Redis provides some measures that prevent a script from creating side effects that persist and can affect the execution of the same, or different script, at a later time. Several weaknesses of these measures have been publicly known for a long time, but they had no security impact as the Redis security model did not endorse the concept of users or privileges. With the introduction of ACLs in Redis 6.0, these weaknesses can be exploited by a less privileged users to inject Lua code that will execute at a later time, when a privileged user executes a Lua script. The problem is fixed in Redis versions 7.0.0 and 6.2.7. An additional workaround to mitigate this problem without patching the redis-server executable, if Lua scripting is not being used, is to block access to `SCRIPT LOAD` and `EVAL` commands using ACL rules.

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

総合評価: CVE-2022-24735 は公開エクスプロイトあり(58.6/100)。CVSS 深刻度は低。悪用される可能性が高い(EPSS 2.16%、80 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。

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

CVE-2022-24735 に関する公開 exploit 参照(Exploit-DB)

EDB-ID ソース 種別 公開 リンク
nvd_ref exploit_tag Exploit-DB ↗

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

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

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-19 2.15% 2.16% +0.02%
2 2026-06-15 1.68% 2.15% +0.47%
3 2026-01-03 1.68%

EPSS の全履歴 (全 24 件)

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

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
3.9 3.1 LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:L)
一部のデータや属性が漏えいしうるが、全件一括流出といった規模には至らない。
完全性への影響 (I:L)
レコードの一部書き換えや設定の歪みなど、限定的だが検知・復旧が必要な水準。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
1.3 2.5 [email protected]
7.8 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:N)
事前のログインや昇格は不要で、匿名アクセスのまま踏み台にしうる。
ユーザーの関与 (UI:R)
インストールの許可、設定変更、悪意あるファイルの実行など、人の一度の判断がトリガーになる。
スコープ (S:U)
影響は脆弱コンポーネントと同一のセキュリティ権限・信頼境界の内側に収まる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:H)
長時間のサービス停止、データ損壊による復旧不能に近い状態など、利用者に著しい不便を与えうる。
1.8 5.9 [email protected]
6.8 2.0 MEDIUM
AV:N/AC:M/Au:N/C:P/I:P/A:P クリックして展開
アクセス経路 (AV:N)
ルーティング可能なネットワーク越しに、遠隔から到達・悪用しうる。
アクセスの複雑さ (AC:M)
多少の有利条件は要るが、極端なレアケースではない。
認証 (AU:N)
認証を経ずに攻撃を完結できる。
機密性への影響 (C:P)
機密性は部分的に損なわれる。
完全性への影響 (I:P)
完全性は部分的に損なわれる。
可用性への影響 (A:P)
可用性は部分的に損なわれる。
8.6 6.4 [email protected]

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

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

vendor priority summary link
alpine high CVE-2022-24735: 1 source package rows (redis); 37 state rows across 9 repos (3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-community, 3.21-community, 3.22-community, edge-community, edge-main); fixed 8, open 29. https://security.alpinelinux.org/vuln/CVE-2022-24735
debian not yet assigned CVE-2022-24735 not yet assigned priority: Debian including 1 source packages (redis), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. https://security-tracker.debian.org/tracker/CVE-2022-24735
gentoo high CVE-2022-24735: 1 GLSA(s) (202209-17), 1 atom(s) (dev-db/redis); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2022-24735
redhat low https://access.redhat.com/security/cve/CVE-2022-24735
suse low CVE-2022-24735 severity low: SUSE including 9 source package names (redis-6.0.14-150200.6.11.1, redis-6.2.6-150400.3.3.7, …), 13 product×package rows across 9 product lines (SUSE Liberty Linux 8, SUSE Liberty Linux 9, … (9 product lines)): Fixed 13. https://www.suse.com/security/cve/CVE-2022-24735/
ubuntu medium CVE-2022-24735 medium priority: Ubuntu including 1 source packages (redis), 14 status rows across 14 suites (bionic, focal, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): not-affected 10, ignored 3, released 1. https://ubuntu.com/security/CVE-2022-24735

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

ベンダー 製品 バージョン 生の CPE
redis redis < 6.2.7 cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
redis redis 7.0 cpe:2.3:a:redis:redis:7.0:rc1:*:*:*:*:*:*
redis redis 7.0 cpe:2.3:a:redis:redis:7.0:rc2:*:*:*:*:*:*
redis redis 7.0 cpe:2.3:a:redis:redis:7.0:rc3:*:*:*:*:*:*
fedoraproject fedora 34 cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
fedoraproject fedora 35 cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
fedoraproject fedora 36 cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
netapp management_services_for_element_software cpe:2.3:a:netapp:management_services_for_element_software:-:*:*:*:*:*:*:*
netapp management_services_for_netapp_hci cpe:2.3:a:netapp:management_services_for_netapp_hci:-:*:*:*:*:*:*:*
oracle communications_operations_monitor 4.3 cpe:2.3:a:oracle:communications_operations_monitor:4.3:*:*:*:*:*:*:*
oracle communications_operations_monitor 4.4 cpe:2.3:a:oracle:communications_operations_monitor:4.4:*:*:*:*:*:*:*
oracle communications_operations_monitor 5.0 cpe:2.3:a:oracle:communications_operations_monitor:5.0:*:*:*:*:*:*:*

CVE-2022-24735 の参考情報

URL タグ
https://github.com/redis/redis/pull/10651 Exploit Third Party Advisory
https://github.com/redis/redis/releases/tag/6.2.7 Release Notes Third Party Advisory
https://github.com/redis/redis/releases/tag/7.0.0 Release Notes Third Party Advisory
https://github.com/redis/redis/security/advisories/GHSA-647m-2wmq-qmvq Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/
https://security.gentoo.org/glsa/202209-17 Third Party Advisory
https://security.netapp.com/advisory/ntap-20220715-0003/ Third Party Advisory
https://www.oracle.com/security-alerts/cpujul2022.html Patch Third Party Advisory
cvelogic Threat Intelligence