Denial-of-service due to unbounded pattern matching in Redis
Summary
Denial-of-service due to unbounded pattern matching in Redis
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2024-31228 redis Fixed in: 6.2.18-r0
- Debian DEBIAN-CVE-2024-31228 redict Fixed in: 7.3.1+ds-1
References
- advisory github.com
- advisory nvd.nist.gov
- advisory github.com
- patch github.com
- web lists.debian.org