kcve.ai취약점 정보 · 내 자산 확인

CVE-2025-49844 Redis Lua Use-After-Free may lead to remote code execution

Redis Lua 해제 후 사용(Use-After-Free)은 원격 코드 실행을 유도할 수 있습니다.

설명

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 the garbage collector, trigger a use-after-free and potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This issue is fixed in version 8.2.2. To workaround this issue without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

Redis는 디스크에 지속되는 오픈 소스 인 메모리 데이터베이스입니다. 버전 8.2.1 이하에서는 인증된 사용자가 특별히 제작된 Lua 스크립트를 사용하여 가비지 컬렉터를 조작하고 해제 후 사용(use-after-free)을 트리거하며 원격 코드 실행을 유도할 수 있습니다. 문제는 Lua 스크립팅을 사용하는 Redis의 모든 버전에 존재합니다. 이 문제는 버전 8.2.2에서 해결되었습니다. redis-server 실행 파일을 패치하지 않고 이 문제를 해결하는 것은 사용자가 Lua 스크립트를 실행하지 못하도록 하는 것입니다. 이것은 ACL을 사용하여 EVAL 및 EVALSHA 명령을 제한 할 수 있습니다.

영향 받는 제품 제품 1개

  • redis

    redis

    해결 버전 있음

    영향 받는 버전

    • 8.2.2 미만

    해결 버전

    • 8.2.2 이상

참고 자료 3건

‹ 목록

점검 지원 범위 문의

도입 문의