# CVE-2021-31294: Redis before 6cbea7d allows a replica to cause an assertion failure in a primary server by sending a non-administrative command (specifical…

- Severity: Medium 5.9 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.31%, higher than 71% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-07-15T00:00:00.000Z
- Modified: 2026-09-08T08:48:18.976Z
- Also known as: BIT-KEYDB-2021-31294, BIT-REDIS-2021-31294, BIT-VALKEY-2021-31294
- Weaknesses: CWE-617
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- redis redis: before 6.2.0
- keydb (Bitnami): before 6.2.0
- redis (Bitnami): before 6.2.0
- valkey (Bitnami): before 6.2.0

## Every score

- NVD: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/redis/redis/issues/8712> (exploit, advisory, 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

- CVE List: [CVE-2021-31294](https://www.cve.org/CVERecord?id=CVE-2021-31294), CVE Terms of Use, modified 2024-10-30
- NVD: [CVE-2021-31294](https://nvd.nist.gov/vuln/detail/CVE-2021-31294), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-KEYDB-2021-31294](https://osv.dev/vulnerability/BIT-KEYDB-2021-31294), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-REDIS-2021-31294](https://osv.dev/vulnerability/BIT-REDIS-2021-31294), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-VALKEY-2021-31294](https://osv.dev/vulnerability/BIT-VALKEY-2021-31294), Apache-2.0, modified 2025-06-10

---

Page: https://cve.day/CVE-2021-31294 · Whole record: https://cve.day/CVE-2021-31294.json · Rebuilt by cve.day 2026-11-25T22:58:08.488Z
