Redis Lua Code Execution Vulnerability (CVE-2025-49844) Notice
Redis 发现 Lua 代码执行漏洞(CVE-2025-49844),影响多个版本;攻击者可利用内存管理漏洞通过 Lua 脚本执行任意代码;CVSS 评分为 10 分;官方已修复,建议用户升级或限制 Lua 脚本执行以缓解风险。 2025-10-9 05:52:20 Author: securityboulevard.com(查看原文) 阅读量:18 收藏

Overview

Recently, NSFOCUS CERT detected that Redis issued a security bulletin and fixed the Redis Lua code execution vulnerability (CVE-2025-49844); Because Redis’s Lua script engine has a use-after-free reuse vulnerability when handling memory management, an authenticated attacker can write a specially crafted Lua script to manipulate the memory recycling mechanism and execute the Lua script through the EVAL and EVALSHA commands in Redis, thereby executing arbitrary code on the target server. CVSS score is 10. At present, the vulnerability PoC has been made public. Relevant users are requested to take measures to protect it as soon as possible.

Redis is an open source in-memory database that persists on disk. It is mainly used as a high-performance cache server, and can also be used as message middleware and session sharing.

Reference link: https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q

Techstrong Gang Youtube

Scope of Impact

Affected version

  • Redis <= 6.2.19
  • Redis <= 7.2.10
  • Redis <= 7.4.5
  • Redis <= 8.0.3
  • Redis <= 8.2.1

Unaffected version

  • Redis >= 6.2.20
  • Redis >= 7.2.11
  • Redis >= 7.4.6
  • Redis >= 8.0.4
  • Redis >= 8.2.2

Mitigation

Official upgrade

At present, the official has released a new version to fix this vulnerability. Affected users are requested to upgrade the version as soon as possible for protection.

Download link: https://github.com/redis/redis/releases

Other protective measures

If the relevant users are temporarily unable to perform upgrade operations, the execution of Lua scripts can also be restricted without affecting the business. The use of EVAL and EVALSHA commands can be restricted or prohibited through ACL.

Statement

This advisory is only used to describe a potential risk. NSFOCUS does not provide any commitment or promise on this advisory. NSFOCUS and the author will not bear any liability for any direct and/or indirect consequences and losses caused by transmitting and/or using this advisory. NSFOCUS reserves all the rights to modify and interpret this advisory. Please include this statement paragraph when reproducing or transferring this advisory. Do not modify this advisory, add/delete any information to/from it, or use this advisory for commercial purposes without permission from NSFOCUS.

About NSFOCUS

NSFOCUS, a pioneering leader in cybersecurity, is dedicated to safeguarding telecommunications, Internet service providers, hosting providers, and enterprises from sophisticated cyberattacks.

Founded in 2000, NSFOCUS operates globally with over 4000 employees at two headquarters in Beijing, China, and Santa Clara, CA, USA, and over 50 offices worldwide. It has a proven track record of protecting over 25% of the Fortune Global 500 companies, including four of the five largest banks and six of the world’s top ten telecommunications companies.

Leveraging technical prowess and innovation, NSFOCUS delivers a comprehensive suite of security solutions, including the Intelligent Security Operations Platform (ISOP) for modern SOC, DDoS Protection, Continuous Threat Exposure Management (CTEM) Service and Web Application and API Protection (WAAP). All the solutions and services are augmented by the Security Large Language Model (SecLLM), ML, patented algorithms and other cutting-edge research achievements developed by NSFOCUS.

The post Redis Lua Code Execution Vulnerability (CVE-2025-49844) Notice appeared first on NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyber attacks..

*** This is a Security Bloggers Network syndicated blog from NSFOCUS, Inc., a global network and cyber security leader, protects enterprises and carriers from advanced cyber attacks. authored by NSFOCUS. Read the original post at: https://nsfocusglobal.com/redis-lua-code-execution-vulnerability-cve-2025-49844-notice/


文章来源: https://securityboulevard.com/2025/10/redis-lua-code-execution-vulnerability-cve-2025-49844-notice/
如有侵权请联系:admin#unsafe.sh