CVE-2025-46818 (CNNVD-202510-439)

MEDIUM
中文标题:
Redis 代码注入漏洞
英文标题:
Redis: Authenticated users can execute LUA scripts as a different user
CVSS分数: 6.0
发布时间: 2025-10-03 18:38:57
漏洞类型: 代码注入
状态: PUBLISHED
数据质量分数: 0.30
数据版本: v3
漏洞描述
中文描述:

Redis是美国Redis公司的一套开源的使用ANSI C编写、支持网络、可基于内存亦可持久化的日志型、键值(Key-Value)存储数据库,并提供多种语言的API。 Redis 8.2.1及之前版本存在代码注入漏洞,该漏洞源于允许经过身份验证的用户使用特制Lua脚本操作不同LUA对象,可能导致在另一用户环境中运行任意代码。

英文描述:

Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted Lua script to manipulate different LUA objects and potentially run their own code in the context of another user. The problem exists in all versions of Redis with LUA scripting. This issue is fixed in version 8.2.2. A workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing LUA scripts. This can be done using ACL to block a script by restricting both the EVAL and FUNCTION command families.

CWE类型:
CWE-94
标签:
(暂无数据)
受影响产品
厂商 产品 版本 版本范围 平台 CPE
redis redis < 8.2.2 - - cpe:2.3:a:redis:redis:<_8.2.2:*:*:*:*:*:*:*
redis redis * - - cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*
解决方案
中文解决方案:
(暂无数据)
英文解决方案:
(暂无数据)
临时解决方案:
(暂无数据)
参考链接
https://github.com/redis/redis/security/advisories/GHSA-qrv7-wcrx-q5jp x_refsource_CONFIRM
cve.org
访问
https://github.com/redis/redis/commit/45eac0262028c771b6f5307372814b75f49f7a9e x_refsource_MISC
cve.org
访问
https://github.com/redis/redis/releases/tag/8.2.2 x_refsource_MISC
cve.org
访问
CVSS评分详情
3.1 (cna)
MEDIUM
6.0
CVSS向量: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:N
机密性
HIGH
完整性
HIGH
可用性
NONE
时间信息
发布时间:
2025-10-03 18:38:57
修改时间:
2025-10-03 19:14:19
创建时间:
2025-11-11 15:40:34
更新时间:
2025-11-11 16:00:20
利用信息
暂无可利用代码信息
数据源详情
数据源 记录ID 版本 提取时间
CVE cve_CVE-2025-46818 2025-11-11 15:23:22 2025-11-11 07:40:34
NVD nvd_CVE-2025-46818 2025-11-11 15:01:04 2025-11-11 07:48:22
CNNVD cnnvd_CNNVD-202510-439 2025-11-11 15:12:27 2025-11-11 08:00:20
版本与语言
当前版本: v3
主要语言: EN
支持语言:
EN ZH
安全公告
暂无安全公告信息
变更历史
v3 CNNVD
2025-11-11 16:00:20
vulnerability_type: 未提取 → 代码注入; cnnvd_id: 未提取 → CNNVD-202510-439; data_sources: ['cve', 'nvd'] → ['cnnvd', 'cve', 'nvd']
查看详细变更
  • vulnerability_type: 未提取 -> 代码注入
  • cnnvd_id: 未提取 -> CNNVD-202510-439
  • data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
v2 NVD
2025-11-11 15:48:22
affected_products_count: 1 → 2; data_sources: ['cve'] → ['cve', 'nvd']
查看详细变更
  • affected_products_count: 1 -> 2
  • data_sources: ['cve'] -> ['cve', 'nvd']