CVE-2025-49844:
Redis 취약성 분석 및 완화
개요
Redis versions 8.2.1 and below contain a critical remote code execution vulnerability (CVE-2025-49844), dubbed 'RediShell'. This use-after-free memory corruption bug has existed in the Redis source code for approximately 13 years, affecting all versions with Lua scripting support. The vulnerability allows an authenticated user to use a specially crafted Lua script to manipulate the garbage collector, trigger a use-after-free condition, and potentially achieve remote code execution. The issue was discovered by Wiz researchers and reported through Pwn2Own Berlin in May 2025, with patches released on October 3, 2025 (Wiz Research, NVD).
기술적 세부 사항
The vulnerability stems from insufficient validation of object liveness during garbage collection in Redis's Lua scripting subsystem, which is enabled by default. The technical mechanism involves memory corruption through crafted Lua scripts that manipulate the garbage collector to free memory still referenced by active objects, leading to a sandbox escape condition. The vulnerability has been assigned a CVSS score of 9.9-10.0 (Critical) with the vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H, indicating network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability (Wiz Research, Sysdig).
영향
The vulnerability's impact is extensive, affecting an estimated 75% of cloud environments. Analysis revealed approximately 330,000 Redis instances exposed to the internet, with about 60,000 instances having no authentication configured. After compromising a Redis host, attackers can steal credentials, deploy malware, extract sensitive data from Redis, or move laterally to other systems. The vulnerability affects both self-hosted Redis instances and managed services such as Amazon ElastiCache, Google Cloud Memorystore, and Azure Cache for Redis (Wiz Research).
완화 및 해결 방법
The vulnerability has been patched in Redis versions 6.2.20, 7.2.11, 7.4.6, 8.0.4, and 8.2.2. For organizations unable to patch immediately, a temporary workaround involves preventing users from executing Lua scripts by using Access Control Lists (ACLs) to restrict EVAL and EVALSHA commands. Additional security recommendations include enforcing strong authentication, running Redis with a non-root user account, implementing network segmentation, and avoiding exposure to the public internet (GitHub Advisory, Redis Patch).
추가 자료
근원: 이 보고서는 AI를 사용하여 생성되었습니다.
관련 Redis 취약점:
무료 취약성 평가
클라우드 보안 태세를 벤치마킹합니다
9개의 보안 도메인에서 클라우드 보안 관행을 평가하여 위험 수준을 벤치마킹하고 방어의 허점을 식별합니다.
추가 Wiz 리소스
맞춤형 데모 받기
맞춤형 데모 신청하기
"내가 본 최고의 사용자 경험은 클라우드 워크로드에 대한 완전한 가시성을 제공합니다."
"Wiz는 클라우드 환경에서 무슨 일이 일어나고 있는지 볼 수 있는 단일 창을 제공합니다."
"우리는 Wiz가 무언가를 중요한 것으로 식별하면 실제로 중요하다는 것을 알고 있습니다."