- Veröffentlicht
- 22.02.2021
- Zuletzt geändert
- 17.11.2026
- EPSS (30 Tage)
- 4.8 %
- CVSS-Vektor
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Beschreibung
Originaltext der Quelle, nicht übersetzt.
Redis is an open-source, in-memory database that persists on disk. In affected versions of Redis an integer overflow bug in 32-bit Redis version 4.0 or newer could be exploited to corrupt the heap and potentially result with remote code execution. Redis 4.0 or newer uses a configurable limit for the maximum supported bulk input size. By default, it is 512MB which is a safe value for all platforms. If the limit is significantly increased, receiving a large request from a client may trigger several integer overflow scenarios, which would result with buffer overflow and heap corruption. We believe this could in certain conditions be exploited for remote code execution. By default, authenticated Redis users have access to all configuration parameters and can therefore use the “CONFIG SET proto-max-bulk-len” to change the safe default, making the system vulnerable. **This problem only affects 32-bit Redis (on a 32-bit system, or as a 32-bit executable running on a 64-bit system).** The problem is fixed in version 6.2, and the fix is back ported to 6.0.11 and 5.0.11. Make sure you use one of these versions if you are running 32-bit Redis. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent clients from directly executing `CONFIG SET`: Using Redis 6.0 or newer, ACL configuration can be used to block the command. Using older versions, the `rename-command` configuration directive can be used to rename the command to a random string unknown to users, rendering it inaccessible. Please note that this workaround may have an additional impact on users or operational systems that expect `CONFIG SET` to behave in certain ways.
Status beim Hersteller
Red Hat stuft seine Produktlinien ein: 1 betroffen, 25 behoben, 8 nicht betroffen.
Red Hat Advanced Cluster Management for Kubernetes 2
BetroffenFix ausstehend
redisgraph-tls-rhel8
SUSE Enterprise Storage 7
Behoben
redis-6.0.13-1.10.1
SUSE Enterprise Storage 7.1
Behoben
redis-6.0.13-1.10.1
SUSE Linux Enterprise High Performance Computing 15 SP2
Behoben
redis-6.0.13-1.10.1
SUSE Linux Enterprise High Performance Computing 15 SP3
Behoben
redis-6.0.13-1.10.1
SUSE Linux Enterprise High Performance Computing 15 SP4
Behoben
redis-6.2.6-150400.1.5
SUSE Linux Enterprise Module for Server Applications 15 SP2
Behoben
redis-6.0.13-1.10.1
SUSE Linux Enterprise Module for Server Applications 15 SP3
Behoben
redis-6.0.13-1.10.1
SUSE Linux Enterprise Module for Server Applications 15 SP4
Behoben
redis-6.2.6-150400.1.5
SUSE Linux Enterprise Server 15 SP2
Behoben
redis-6.0.13-1.10.1
SUSE Linux Enterprise Server 15 SP3
Behoben
redis-6.0.13-1.10.1
SUSE Linux Enterprise Server 15 SP4
Behoben
redis-6.2.6-150400.1.5
SUSE Linux Enterprise Server for SAP Applications 15 SP2
Behoben
redis-6.0.13-1.10.1
SUSE Linux Enterprise Server for SAP Applications 15 SP3
Behoben
redis-6.0.13-1.10.1
SUSE Linux Enterprise Server for SAP Applications 15 SP4
Behoben
redis-6.2.6-150400.1.5
SUSE Manager Proxy 4.1
Behoben
redis-6.0.13-1.10.1
SUSE Manager Proxy 4.2
Behoben
redis-6.0.13-1.10.1
SUSE Manager Proxy 4.3
Behoben
redis-6.2.6-150400.1.5
SUSE Manager Retail Branch Server 4.1
Behoben
redis-6.0.13-1.10.1
SUSE Manager Retail Branch Server 4.2
Behoben
redis-6.0.13-1.10.1
SUSE Manager Retail Branch Server 4.3
Behoben
redis-6.2.6-150400.1.5
SUSE Manager Server 4.1
Behoben
redis-6.0.13-1.10.1
SUSE Manager Server 4.2
Behoben
redis-6.0.13-1.10.1
SUSE Manager Server 4.3
Behoben
redis-6.2.6-150400.1.5
openSUSE Leap 15.2
Behoben
redis-6.0.13-lp152.2.3.1
openSUSE Tumbleweed
Behoben
redis-6.2.5-1.2
Nicht betroffen (8)
Red Hat Advanced Cluster Management for Kubernetes 2Nicht betroffenverwundbarer Code nicht enthaltensearch-api
Red Hat Ansible Automation Platform 1.2Nicht betroffenverwundbarer Code nicht enthaltenredis
Red Hat Ansible Tower 3Nicht betroffenverwundbarer Code nicht enthaltenredis
Red Hat Enterprise Linux 8Nicht betroffenverwundbarer Code nicht enthaltenredis, redis-devel, redis-doc
Red Hat Enterprise Linux 9Nicht betroffenverwundbarer Code nicht enthaltenredis, redis-devel, redis-doc
Red Hat OpenStack Platform 10 (Newton)Nicht betroffenverwundbarer Code nicht enthaltenredis
Red Hat OpenStack Platform 13 (Queens)Nicht betroffenverwundbarer Code nicht enthaltenredis
Red Hat Software CollectionsNicht betroffenverwundbarer Code nicht enthaltenrh-redis5-redis
Betroffene Pakete im beobachteten Stack
Debian:12redis5:6.0.11-1DEBIAN-CVE-2021-21309
Debian:13redis5:6.0.11-1DEBIAN-CVE-2021-21309
Debian:14redis5:6.0.11-1DEBIAN-CVE-2021-21309
Debian:9redis3:3.2.6-3+deb9u4DLA-2576-1 (über DLA-2576-1)
Red Hat:acm:2redisgraph-tls-rhel8kein Fix bekanntCVE-2021-21309
Weitere betroffene Pakete (27)
Alpine:v3.10redis4.0 → 5.0.11-r0ALPINE-CVE-2021-21309
Alpine:v3.11redis4.0 → 5.0.11-r0ALPINE-CVE-2021-21309
Alpine:v3.12redis4.0 → 5.0.11-r0ALPINE-CVE-2021-21309
Alpine:v3.13redis6.0.0 → 6.0.11-r0ALPINE-CVE-2021-21309
Alpine:v3.14redis6.0.0 → 6.2.0-r0ALPINE-CVE-2021-21309
Alpine:v3.15redis6.0.0 → 6.2.0-r0ALPINE-CVE-2021-21309
Alpine:v3.16redis6.0.0 → 6.2.0-r0ALPINE-CVE-2021-21309
Alpine:v3.17redis6.0.0 → 6.2.0-r0ALPINE-CVE-2021-21309
Alpine:v3.18redis6.0.0 → 6.2.0-r0ALPINE-CVE-2021-21309
Alpine:v3.19redis6.0.0 → 6.2.0-r0ALPINE-CVE-2021-21309
Alpine:v3.20redis6.0.0 → 6.2.0-r0ALPINE-CVE-2021-21309
Alpine:v3.21redis6.0.0 → 6.2.0-r0ALPINE-CVE-2021-21309
Alpine:v3.22redis6.0.0 → 6.2.0-r0ALPINE-CVE-2021-21309
Alpine:v3.23redis6.0.0 → 6.2.0-r0ALPINE-CVE-2021-21309
Alpine:v3.24redis6.0.0 → 6.2.0-r0ALPINE-CVE-2021-21309
Azure Linux:2redis5.0.5-7AZL-6843
CVEredis/rediskein Fix bekanntCVE-2021-21309
NVDredislabs:redis4.0 → 5.0.11, 6.0.0 → 6.0.11CVE-2021-21309
SUSE:Linux Enterprise Module for Server Applications 15 SP2redis6.0.13-1.10.1SUSE-SU-2021:1652-1
SUSE:Linux Enterprise Module for Server Applications 15 SP3redis6.0.13-1.10.1SUSE-SU-2021:1652-1
Ubuntu:Pro:14.04:LTSredis2:2.8.4-2ubuntu0.2+esm2USN-5221-1
Ubuntu:Pro:16.04:LTSredis2:3.0.6-1ubuntu0.4+esm1USN-5221-1
Ubuntu:Pro:18.04:LTSredis5:4.0.9-1ubuntu0.2+esm3UBUNTU-CVE-2021-21309
Ubuntu:Pro:18.04:LTSredis5:4.0.9-1ubuntu0.2+esm3USN-5221-1
Ubuntu:Pro:20.04:LTSredis5:5.0.7-2ubuntu0.1+esm1USN-5221-1
openSUSE:Leap 15.2redis6.0.13-lp152.2.3.1openSUSE-SU-2021:0682-1
openSUSE:Tumbleweedredis6.2.5-1.2openSUSE-SU-2024:11299-1
Empfohlene Prüfung
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · mit Login) ist aus dem CVSS-Vektor abgeleitet.
Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.
Referenzen
- github.com/redis/redis/security/advisories/GHSA-hgj8-vff2-7cjf
- github.com/redis/redis/commit/c992857618db99776917f10bf4f2345a5fdc78b0
- github.com/redis/redis/pull/8522
- security.gentoo.org/glsa/202103-02
- www.suse.com/security/cve/CVE-2021-21309
- www.suse.com/support/security/rating/
- bugzilla.suse.com/1182657
- lists.suse.com/pipermail/sle-security-updates/2021-May/008787.html
- lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/Z32YY6DUIFNGIYRC6JPVBZ2WTPYN5SOY/
- security.alpinelinux.org/vuln/CVE-2021-21309
- nvd.nist.gov/vuln/detail/CVE-2021-21309
- security-tracker.debian.org/tracker/CVE-2021-21309
- ubuntu.com/security/CVE-2021-21309
- ubuntu.com/security/notices/USN-5221-1
- www.cve.org/CVERecord
- security.access.redhat.com/data/csaf/v2/vex/2021/cve-2021-21309.json
- access.redhat.com/security/cve/CVE-2021-21309
- bugzilla.redhat.com/show_bug.cgi