CVE-2021-31294 json
Redis before 6cbea7d allows a replica to cause an assertion failure in a primary server by sending a non-administrative command (specifical…
published 2023-07-15 3 y ago modified 2026-09-08 2 mo ago also BIT-keydb-2021-31294 , BIT-redis-2021-31294 , BIT-valkey-2021-31294 , EUVD-2021-18204
- cvss
- 5.9
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.3%
- EPSS 1.3% chance of exploitation in 30 days, percentile 70%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami keydb 6.2.0
- bitnami redis 6.2.0
- bitnami valkey 6.2.0
- redis redis 6.2.0
- redis Debian 14, Debian 13, Debian 12 5:7.0.1-4
debian advisories DEBIAN-CVE-2021-31294
- github.com/redis/redis@6cbea7d commit
- github.com/redis/redis@46f4ebb commit
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-31294 updated cvss 5.9
redis: an assertion failure in a primary server by sending a non-administrative command
-
Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel7, 3scale-amp2/backend-rhel8affected: no fix available, no fix planned “Will not fix”
-
Red Hat Ansible Automation Platform 1.2 ansible-tower Red Hat Enterprise Linux 8 redis Red Hat Fuse 7 redis Red Hat OpenStack Platform 16.1 openstack-redis-container Red Hat Software Collections rh-redis6-redisaffected: no fix planned “Will not fix”
-
Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/search-api-rhel8 Red Hat Enterprise Linux 9 redis Red Hat OpenStack Platform 16.1 openstack-redis-base-container Red Hat OpenStack Platform 17.0 openstack-redis-container Red Hat OpenStack Platform 17.1 openstack-redis-container Red Hat OpenStack Platform 18.0 openstack-redis-containernot affected: vulnerable code not present
+1 more productsfewer
Red Hat Satellite 6 rubygem-gitlab-sidekiq-fetcher, tfm-rubygem-gitlab-sidekiq-fetcher
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
1.31% chance of exploitation in the next 30 days, higher than 70% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/redis/redis/issues/8712 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | keydb | <6.2.0 |
6.2.0 |
| bitnami | redis | <6.2.0 |
6.2.0 |
| bitnami | valkey | <6.2.0 |
6.2.0 |
Classification
- Weakness
-
- CWE-617 Reachable Assertion
- Technology feeds
References
-
github.com
/redis/redis/commit/6cbea7d29b5285692843bc1c351abba1a7ef326f
patch, web
-
github.com
/redis/redis/commit/46f4ebbe842620f0976a36741a72482620aa4b48
patch, web
-
github.com
/redis/redis/issues/8712
exploit, third-party-advisory, advisory, web
-
security.netapp.com
/advisory/ntap-20230814-0007/
web
-
nvd.nist.gov
/vuln/detail/CVE-2021-31294
web
Sources
- CVE List CVE-2021-31294
- NVD CVE-2021-31294
- OSV BIT-keydb-2021-31294
- OSV BIT-redis-2021-31294
- OSV BIT-valkey-2021-31294
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.