Skip to main content
← All vulnerabilities
CVE-2024-31228

Denial-of-service due to unbounded pattern matching in Redis

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 6.2.16, 7.2.6, 7.4.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially crafted, long string match patterns on supported commands such as `KEYS`, `SCAN`, `PSUBSCRIBE`, `FUNCTION LIST`, `COMMAND LIST` and ACL definitions. Matching of extremely long patterns may result in unbounded recursion, leading to stack overflow and process crash. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • redis redis

    From 2.2.5 · fixed in 6.2.16; From 7.0.0 · fixed in 7.2.6; From 7.3.0 · fixed in 7.4.1

References 2

GitHub · redis/redis