CVE-2024-31227
Denial-of-service due to malformed ACL selectors in Redis
Reported by github_m · Published October 7, 2024
Redis is an open source, in-memory database that persists on disk. An authenticated with sufficient privileges may create a malformed ACL selector which, when accessed, triggers a server panic and subsequent denial of service. The problem exists in Redis 7 prior to versions 7.2.6 and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| valkey | dhi.docker.com | 8.0.1, 7.2.7 |
| redis-7.2 | Wolfi | 7.2.12-r2 |
| redis | dhi.docker.com | 7.4.1, 7.2.6 |
| valkey | DHI | 8.0.1, 7.2.7 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| redis | redis | >= 7.0.0, < 7.2.6, >= 7.3.0, < 7.4.1 |
| wolfi | redis-7.2 | 0 |
| redis | redis | 7.3.0, 7.0.0 |
| chainguard | py3-redis | * |
| wolfi | redis-7.4 | 0 |
| alpine | redis | 0, 0, 0 |
| chainguard | redis-7.2 | 0 |
| alpine | valkey | 0 |
| chainguard | redis-7.4 | 0 |
| alpine | redict | 0 |
Timeline
- Oct 3, 2024 CVE Published
- Oct 7, 2024 CVE Updated
- Oct 8, 2024 EPSS Score (30 in total, the first dated here)
- Oct 14, 2024 Coalition ESS Score (20 in total, the first dated here)
- Jan 13, 2026 Security Advisory (15 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (6 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2024-31227
vulnetix vdb fixes CVE-2024-31227
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-31227/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/redis/redis/security/advisories/GHSA-38p4-26x2-vqhh x_refsource_CONFIRM
- https://github.com/redis/redis/commit/b351d5a3210e61cc3b22ba38a723d6da8f3c298a x_refsource_MISC