CVE-2024-31228
Redis vulnerability analysis and mitigation

Overview

Redis, an open-source in-memory database, was found to contain a vulnerability (CVE-2024-31228) where authenticated users could trigger a denial-of-service condition. The vulnerability affects Redis commands such as KEYS, SCAN, PSUBSCRIBE, FUNCTION LIST, COMMAND LIST, and ACL definitions. This security flaw was discovered and disclosed in October 2024, affecting all versions of Redis (GitHub Advisory).

Technical details

The vulnerability stems from unbounded pattern matching in Redis's string matching functionality. When processing extremely long patterns, the system may enter unbounded recursion, which can lead to stack overflow and subsequent process crash. The issue has been assigned a CVSS v3.1 base score of 5.5 (Medium) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H. The vulnerability is classified as CWE-674 (Uncontrolled Recursion) (GitHub Advisory, Security Online).

Impact

The vulnerability can result in a denial-of-service condition when an authenticated user submits specially crafted, long string match patterns. When successfully exploited, this can cause the Redis server process to crash, potentially disrupting applications and services that depend on Redis (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are strongly advised to upgrade their Redis installations to these patched versions. There are no known workarounds for this vulnerability (GitHub Advisory, Ubuntu Security).

Additional resources


SourceThis report was generated using AI

Related Redis vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-49844CRITICAL9.9
  • RedisRedis
  • valkey
NoYesOct 03, 2025
CVE-2025-46817HIGH8.8
  • RedisRedis
  • valkey-rdma
NoYesOct 03, 2025
CVE-2025-62507HIGH7.7
  • RedisRedis
  • redis
NoYesNov 04, 2025
CVE-2025-46818HIGH7.3
  • RedisRedis
  • cpe:2.3:a:redis:redis
NoYesOct 03, 2025
CVE-2025-46819HIGH7.1
  • RedisRedis
  • redis:7::redis-doc
NoYesOct 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management