cve.bz

CVE-2021-3470 redislabs redis: Out-of-bounds Write

5.3 mediumEPSS 1.1%Fix available

Medium (5.3) in redislabs redis. EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
A heap overflow issue was found in Redis in versions before 5.0.10, before 6.0.9 and before 6.2.0 when using a heap allocator other than jemalloc or glibc's malloc, leading to potential out of bound write or process crash. Effectively this flaw does not affect the vast majority of users, who use jemalloc or glibc malloc.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 68th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-787 Out-of-bounds Write
CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3470 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3470?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3470?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3470 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redislabs:redisbefore 5.0.10
redislabs:redisfrom 6.0.0 before 6.0.9
redislabs:redis6.2.0:rc1
redislabs:redis6.2.0:rc2
redislabs:redis6.2.0:rc3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14redis5:6.0.9-1DEBIAN-CVE-2021-3470
UbuntuPro:14.04:LTS, Pro:16.04:LTS, Pro:18.04:LTS and 1 moreredisno fix listedUBUNTU-CVE-2021-3470
Alpinev3.12redis5.0.11-r0ALPINE-CVE-2021-3470
Alpinev3.13redis6.0.9-r0ALPINE-CVE-2021-3470
Alpinev3.14, v3.15, v3.16 and 8 moreredis6.2.0-r0ALPINE-CVE-2021-3470
Azure Linux2redis5.0.5-7AZL-6852

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

The following products are not affected by this flaw because they use `jemalloc` as default heap allocator:

* Red Hat Enterprise Linux 8

* Red Hat Software Collections

* Red Hat Advanced Cluster Management for Kubernetes

In Red Hat OpenStack Platform, because the flaw has a lower impact and the fix would require a substantial amount of development, no update will be provided at this time for the RHOSP redis package.

ProductPackageStateAdvisory
Red Hat Advanced Cluster Management for Kubernetes 2redisgraph-tlsNot affected
Red Hat Advanced Cluster Management for Kubernetes 2search-apiNot affected
Red Hat Ansible Automation Platform 1.2redisNot affected
Red Hat Ansible Tower 3redisNot affected
Red Hat Enterprise Linux 8redis:5/redisNot affected
Red Hat Enterprise Linux 8redis:6/redisNot affected
Red Hat Enterprise Linux 9redisNot affected
Red Hat OpenStack Platform 10 (Newton)redisWill not fix
Red Hat OpenStack Platform 13 (Queens)redisWill not fix
Red Hat Software Collectionsrh-redis5-redisNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3470.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-119 (12).

References

Check your stackJSON