Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Redis | Redis | >= 2.2.5, < 6.2.16 |
Related Weaknesses (CWE)
References
- https://github.com/redis/redis/commit/9317bf64659b33166a943ec03d5d9b954e86afb0Patch
- https://github.com/redis/redis/security/advisories/GHSA-66gq-c942-6976Vendor Advisory
- https://lists.debian.org/debian-lts-announce/2024/11/msg00031.html
FAQ
What is CVE-2024-31228?
CVE-2024-31228 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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...
How severe is CVE-2024-31228?
CVE-2024-31228 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2024-31228?
Check the references section above for vendor advisories and patch information. Affected products include: Redis Redis.