Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially c…
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.
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
https://cwe.mitre.org/data/definitions/674.html →Open in CWE collection →Applications often need to transform data in and out of a data format (e.g., XML and YAML) by using a parser. It may be possible for an adversary to inject data that may have an adverse effect on the parser when it is being processed. Many data format languages allow the definition of macro-like structures that can be used to simplify the creation of complex structures. By nesting these structures, causing the data to be repeatedly substituted, an adversary can cause the parser to consume more resources while processing, causing excessive memory consumption and CPU utilization.
https://capec.mitre.org/data/definitions/230.html →Open in CAPEC collection →An adversary injects oversized serialized data payloads into a parser during data processing to produce adverse effects upon the parser such as exhausting system resources and arbitrary code execution.
https://capec.mitre.org/data/definitions/231.html →Open in CAPEC collection →| Product | Vendor | Status |
|---|---|---|
| Tracked | ||
| Tracked | ||
| Tracked | ||
| redict | Tracked | |
| redis | Tracked | |
| redis | Tracked | |
| redis | Tracked | |
| redis | Tracked | |
| redis | Tracked | |
| redis | Tracked | |
| redis | Tracked | |
| redis | Tracked | |
| redis | Tracked | |
| redis | Tracked | |
| redis-cli | Tracked | |
| redis-devel | Tracked | |
| valkey | Tracked | |
| redis | * | Tracked |