Skip to content
Fencer Vulns
medium 5.9

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

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-rhel8
    affected: 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-redis
    affected: 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-container
    +1 more products
    Red Hat Satellite 6 rubygem-gitlab-sidekiq-fetcher, tfm-rubygem-gitlab-sidekiq-fetcher
    not affected: vulnerable code not present

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
Technology feeds

References

Sources

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.