CVE-2025-49844
Redis Analyse et atténuation des vulnérabilités

Aperçu

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).

Détails techniques

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).

Impact

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).

Atténuation et solutions de contournement

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).

Ressources additionnelles


SourceCe rapport a été généré à l’aide de l’IA

Apparenté Redis Vulnérabilités:

Identifiant CVE

Sévérité

Score

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

CVE-2025-49844CRITICAL9.9
  • RedisRedis
  • redis-doc
NonOuiOct 03, 2025
CVE-2025-46817CRITICAL9.8
  • RedisRedis
  • redis-6.2
NonOuiOct 03, 2025
CVE-2025-46818HIGH7.3
  • RedisRedis
  • redict
NonOuiOct 03, 2025
CVE-2025-46819HIGH7.1
  • RedisRedis
  • valkey
NonOuiOct 03, 2025
CVE-2025-9810MEDIUM6.8
  • RedisRedis
  • redis:6::redis
NonOuiSep 01, 2025

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité dans le cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité pour évaluer votre niveau de risque et identifier les failles dans vos défenses.

Demander une évaluation

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités