1. Home
  2. Vulnerabilities
  3. CVE-2024-31228

CVE-2024-31228

Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a…

Published 7 Oct 2024 · modified 17 Jun 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 42/100

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.

Affected products and versions

Redis (3 line(s))
Redis
ProductVersionsFixed inSource
Redis from 2.2.5 (included) to 6.2.16 (excluded) — NVD
Redis from 7.2.0 (included) to 7.2.6 (excluded) — NVD
Redis 7.4.0 — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
CNA (vendor or assigner)
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
CWE-674 · Autre (CWE-674)

How this data is obtained and calculated