CVE-2024-31228
MEDIUM6.5EPSS 1.4%Denial-of-service due to unbounded pattern matching in Redis
發布日:2024/10/7修改日:2026/5/17
描述
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.
受影響套件(8)
- Alpine/redisfrom 0, < 6.2.18-r0
- Alpine/valkeyfrom 0, < 7.2.7-r0
- Bitnami/keydb>= 2.2.5, < 6.3.4, >= 7.0.0
- Bitnami/redis>= 2.2.5, < 6.2.16, >= 7.0.0, < 7.2.8, >= 7.3.0, < 7.4.1
- Bitnami/valkeyfrom 0, < 7.2.7, >= 8.0.0, < 8.0.1
- Debian/redictfrom 0, < 7.3.1+ds-1
- Debian/redisfrom 0, < 5:6.0.16-1+deb11u4
- Debian/valkeyfrom 0, < 8.0.1+dfsg1-1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
參考連結(6)
- ADVISORYhttps://security.alpinelinux.org/vuln/CVE-2024-31228
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2024-31228
- WEBhttps://github.com/redis/redis/commit/9317bf64659b33166a943ec03d5d9b954e86afb0
- WEBhttps://github.com/redis/redis/security/advisories/GHSA-66gq-c942-6976
- WEBhttps://lists.debian.org/debian-lts-announce/2024/11/msg00031.html
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2024-31228