CVE-2021-31294
5.9medium
Redis before 6cbea7d allows a replica to cause an assertion failure in a primary server by sending a non-administrative command (specifical…
- Severity
- 5.9medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.31% (higher than 71% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- BIT-KEYDB-2021-31294BIT-REDIS-2021-31294BIT-VALKEY-2021-31294
Description
Redis before 6cbea7d allows a replica to cause an assertion failure in a primary server by sending a non-administrative command (specifically, a SET command). NOTE: this was fixed for Redis 6.2.x and 7.x in 2021. Versions before 6.2 were not intended to have safety guarantees related to this.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| redis redis | before 6.2.0 | NVD |
| keydb (Bitnami) | before 6.2.0 | Bitnami Vulnerability Database |
| redis (Bitnami) | before 6.2.0 | Bitnami Vulnerability Database |
| valkey (Bitnami) | before 6.2.0 | Bitnami Vulnerability Database |
All scores
| NVD | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://github.com/redis/redis/issues/8712 | advisory, exploit, third-party-advisory, web | |
| https://github.com/redis/redis/commit/6cbea7d29b5285692843bc1c351abba1a7ef326f | fix, patch, web | |
| https://github.com/redis/redis/commit/46f4ebbe842620f0976a36741a72482620aa4b48 | fix, patch, web | |
| https://security.netapp.com/advisory/ntap-20230814-0007/ | web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-31294 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-31294 changed 2024-10-30 | CVE Terms of Use |
| NVD | CVE-2021-31294 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-KEYDB-2021-31294 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-REDIS-2021-31294 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-VALKEY-2021-31294 changed 2025-06-10 | Apache-2.0 |