CVE-2021-32627
published high CVSS 3.1 · 7.5Integer overflow issue with Streams in Redis
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| redis | — | redis>= 5.0.0, < 5.0.14 · >= 6.0.0, < 6.0.16 · >= 6.2.0, < 6.2.6 | Affected | Not stated | GitHub_M |
| Amazon Linux | AL2 | Release evaluationALAS2REDIS6-2023-007 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| AlmaLinux | 8 | redis | Advisory build | 5.0.3-5.module_el8.4.0+2583+b9845322 | ALSA-2021:3918 |
| Alpine Linux | edge | redis | Fixed | 6.2.6-r0 | Package fix record |
| Debian | bullseye | redis | Advisory build | 5:6.0.16-1+deb11u1 | DSA-5001-1 |
| Oracle Linux | 8 | redisaarch64 · redis · 5b | Advisory build | 0:5.0.3-5.module+el8.4.0+20382+7694043a | ELSA-2021-3918 |
| Red Hat Enterprise Linux | RHEL-8 | redisaarch64 | Advisory build | 5.0.3-5.module+el8.1.0+12925+6460abef | RHSA-2021:3946 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | SLE-15-SP2 | redisaarch64 | Advisory build | 6.0.14-6.8.1 | SUSE-SU-2021:3772-1 |
| Ubuntu | bionic | redis | Advisory build | 5:4.0.9-1ubuntu0.2+esm3 | USN-5221-1 |
| AlmaLinux | 8 | redis | Advisory build | 5.0.3-5.module_el8.5.0+66+fc19ec12 | ALSA-2021:3918 |
| AlmaLinux | 8 | redis | Advisory build | 6.0.9-5.module_el8.4.0+2584+1bb0d2aa | ALSA-2021:3945 |
| AlmaLinux | 8 | redis | Advisory build | 6.0.9-5.module_el8.5.0+67+a3c431d9 | ALSA-2021:3945 |
| Alpine Linux | v3.11 | redis | Fixed | 5.0.14-r0 | Package fix record |
| Alpine Linux | v3.12 | redis | Fixed | 5.0.14-r0 | Package fix record |
| Alpine Linux | v3.13 | redis | Fixed | 6.0.16-r0 | Package fix record |
| Alpine Linux | v3.14 | redis | Fixed | 6.2.6-r0 | Package fix record |
| Alpine Linux | v3.15 | redis | Fixed | 6.2.6-r0 | Package fix record |
| Alpine Linux | v3.16 | redis | Fixed | 6.2.6-r0 | Package fix record |
| Alpine Linux | v3.17 | redis | Fixed | 6.2.6-r0 | Package fix record |
| Alpine Linux | v3.18 | redis | Fixed | 6.2.6-r0 | Package fix record |
| Alpine Linux | v3.19 | redis | Fixed | 6.2.6-r0 | Package fix record |
| Alpine Linux | v3.20 | redis | Fixed | 6.2.6-r0 | Package fix record |
| Alpine Linux | v3.21 | redis | Fixed | 6.2.6-r0 | Package fix record |
| Alpine Linux | v3.22 | redis | Fixed | 6.2.6-r0 | Package fix record |
| Alpine Linux | v3.23 | redis | Fixed | 6.2.6-r0 | Package fix record |
| Alpine Linux | v3.24 | redis | Fixed | 6.2.6-r0 | Package fix record |
| Debian | buster | redis | Advisory build | 5:5.0.14-1+deb10u1 | DSA-5001-1 |
| Oracle Linux | 8 | redisaarch64 · redis · 6b | Advisory build | 0:6.0.9-5.module+el8.4.0+20384+68ad316c | ELSA-2021-3945 |
| Oracle Linux | 8 | redisx86_64 · redis · 5b | Advisory build | 0:5.0.3-5.module+el8.4.0+20382+7694043a | ELSA-2021-3918 |
| Oracle Linux | 8 | redisx86_64 · redis · 6b | Advisory build | 0:6.0.9-5.module+el8.4.0+20384+68ad316c | ELSA-2021-3945 |
| Red Hat Enterprise Linux | RHEL-8 | redisaarch64 | Advisory build | 5.0.3-5.module+el8.2.0+12926+485b5fc9 | RHSA-2021:3944 |
| Red Hat Enterprise Linux | RHEL-8 | redisaarch64 | Advisory build | 5.0.3-5.module+el8.4.0+12927+b9845322 | RHSA-2021:3918 |
| Red Hat Enterprise Linux | RHEL-8 | redisaarch64 | Advisory build | 6.0.9-5.module+el8.4.0+12929+1bb0d2aa | RHSA-2021:3945 |
| Red Hat Enterprise Linux | RHEL-8 | redisppc64le | Advisory build | 5.0.3-5.module+el8.1.0+12925+6460abef | RHSA-2021:3946 |
| Red Hat Enterprise Linux | RHEL-8 | redisppc64le | Advisory build | 5.0.3-5.module+el8.2.0+12926+485b5fc9 | RHSA-2021:3944 |
| Red Hat Enterprise Linux | RHEL-8 | redisppc64le | Advisory build | 5.0.3-5.module+el8.4.0+12927+b9845322 | RHSA-2021:3918 |
| Red Hat Enterprise Linux | RHEL-8 | redisppc64le | Advisory build | 6.0.9-5.module+el8.4.0+12929+1bb0d2aa | RHSA-2021:3945 |
| Red Hat Enterprise Linux | RHEL-8 | rediss390x | Advisory build | 5.0.3-5.module+el8.1.0+12925+6460abef | RHSA-2021:3946 |
| Red Hat Enterprise Linux | RHEL-8 | rediss390x | Advisory build | 5.0.3-5.module+el8.2.0+12926+485b5fc9 | RHSA-2021:3944 |
| Red Hat Enterprise Linux | RHEL-8 | rediss390x | Advisory build | 5.0.3-5.module+el8.4.0+12927+b9845322 | RHSA-2021:3918 |
| Red Hat Enterprise Linux | RHEL-8 | rediss390x | Advisory build | 6.0.9-5.module+el8.4.0+12929+1bb0d2aa | RHSA-2021:3945 |
| Red Hat Enterprise Linux | RHEL-8 | redissrc | Advisory build | 5.0.3-5.module+el8.1.0+12925+6460abef | RHSA-2021:3946 |
| Red Hat Enterprise Linux | RHEL-8 | redissrc | Advisory build | 5.0.3-5.module+el8.2.0+12926+485b5fc9 | RHSA-2021:3944 |
| Red Hat Enterprise Linux | RHEL-8 | redissrc | Advisory build | 5.0.3-5.module+el8.4.0+12927+b9845322 | RHSA-2021:3918 |
| Red Hat Enterprise Linux | RHEL-8 | redissrc | Advisory build | 6.0.9-5.module+el8.4.0+12929+1bb0d2aa | RHSA-2021:3945 |
| Red Hat Enterprise Linux | RHEL-8 | redisx86_64 | Advisory build | 5.0.3-5.module+el8.1.0+12925+6460abef | RHSA-2021:3946 |
| Red Hat Enterprise Linux | RHEL-8 | redisx86_64 | Advisory build | 5.0.3-5.module+el8.2.0+12926+485b5fc9 | RHSA-2021:3944 |
| Red Hat Enterprise Linux | RHEL-8 | redisx86_64 | Advisory build | 5.0.3-5.module+el8.4.0+12927+b9845322 | RHSA-2021:3918 |
| Red Hat Enterprise Linux | RHEL-8 | redisx86_64 | Advisory build | 6.0.9-5.module+el8.4.0+12929+1bb0d2aa | RHSA-2021:3945 |
| SUSE / openSUSE | SLE-15-SP2 | redisppc64le | Advisory build | 6.0.14-6.8.1 | SUSE-SU-2021:3772-1 |
| SUSE / openSUSE | SLE-15-SP2 | rediss390x | Advisory build | 6.0.14-6.8.1 | SUSE-SU-2021:3772-1 |
| SUSE / openSUSE | SLE-15-SP2 | redisx86_64 | Advisory build | 6.0.14-6.8.1 | SUSE-SU-2021:3772-1 |
| SUSE / openSUSE | SLE-15-SP3 | redisaarch64 | Advisory build | 6.0.14-6.8.1 | SUSE-SU-2021:3772-1 |
| SUSE / openSUSE | SLE-15-SP3 | redisppc64le | Advisory build | 6.0.14-6.8.1 | SUSE-SU-2021:3772-1 |
| SUSE / openSUSE | SLE-15-SP3 | rediss390x | Advisory build | 6.0.14-6.8.1 | SUSE-SU-2021:3772-1 |
| SUSE / openSUSE | SLE-15-SP3 | redisx86_64 | Advisory build | 6.0.14-6.8.1 | SUSE-SU-2021:3772-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | redisaarch64 | Advisory build | 6.0.14-6.8.1 | OPENSUSE-SU-2021:3772-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | redisppc64le | Advisory build | 6.0.14-6.8.1 | OPENSUSE-SU-2021:3772-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | rediss390x | Advisory build | 6.0.14-6.8.1 | OPENSUSE-SU-2021:3772-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | redisx86_64 | Advisory build | 6.0.14-6.8.1 | OPENSUSE-SU-2021:3772-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisaarch64 | Advisory build | 6.2.6-1.1 | OPENSUSE-SU-2024:11563-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisppc64le | Advisory build | 6.2.6-1.1 | OPENSUSE-SU-2024:11563-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rediss390x | Advisory build | 6.2.6-1.1 | OPENSUSE-SU-2024:11563-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisx86_64 | Advisory build | 6.2.6-1.1 | OPENSUSE-SU-2024:11563-1 |
| Ubuntu | focal | redis | Advisory build | 5:5.0.7-2ubuntu0.1+esm1 | USN-5221-1 |
| AlmaLinux | 8 | redis-devel | Advisory build | 5.0.3-5.module_el8.4.0+2583+b9845322 | ALSA-2021:3918 |
| AlmaLinux | 8 | redis-devel | Advisory build | 5.0.3-5.module_el8.5.0+66+fc19ec12 | ALSA-2021:3918 |
| AlmaLinux | 8 | redis-devel | Advisory build | 6.0.9-5.module_el8.4.0+2584+1bb0d2aa | ALSA-2021:3945 |
| AlmaLinux | 8 | redis-devel | Advisory build | 6.0.9-5.module_el8.5.0+67+a3c431d9 | ALSA-2021:3945 |
| AlmaLinux | 8 | redis-doc | Advisory build | 5.0.3-5.module_el8.4.0+2583+b9845322 | ALSA-2021:3918 |
| AlmaLinux | 8 | redis-doc | Advisory build | 6.0.9-5.module_el8.4.0+2584+1bb0d2aa | ALSA-2021:3945 |
| Oracle Linux | 8 | redis-develaarch64 · redis · 5b | Advisory build | 0:5.0.3-5.module+el8.4.0+20382+7694043a | ELSA-2021-3918 |
| Oracle Linux | 8 | redis-develaarch64 · redis · 6b | Advisory build | 0:6.0.9-5.module+el8.4.0+20384+68ad316c | ELSA-2021-3945 |
| Oracle Linux | 8 | redis-develx86_64 · redis · 5b | Advisory build | 0:5.0.3-5.module+el8.4.0+20382+7694043a | ELSA-2021-3918 |
| Oracle Linux | 8 | redis-develx86_64 · redis · 6b | Advisory build | 0:6.0.9-5.module+el8.4.0+20384+68ad316c | ELSA-2021-3945 |
| Oracle Linux | 8 | redis-docaarch64 · redis · 5b | Advisory build | 0:5.0.3-5.module+el8.4.0+20382+7694043a | ELSA-2021-3918 |
| Oracle Linux | 8 | redis-docaarch64 · redis · 6b | Advisory build | 0:6.0.9-5.module+el8.4.0+20384+68ad316c | ELSA-2021-3945 |
| Oracle Linux | 8 | redis-docx86_64 · redis · 5b | Advisory build | 0:5.0.3-5.module+el8.4.0+20382+7694043a | ELSA-2021-3918 |
| Oracle Linux | 8 | redis-docx86_64 · redis · 6b | Advisory build | 0:6.0.9-5.module+el8.4.0+20384+68ad316c | ELSA-2021-3945 |
| Red Hat Enterprise Linux | RHEL-7 | rh-redis5-redisppc64le | Advisory build | 5.0.5-3.el7 | RHSA-2021:3947 |
| Red Hat Enterprise Linux | RHEL-7 | rh-redis5-rediss390x | Advisory build | 5.0.5-3.el7 | RHSA-2021:3947 |
| Red Hat Enterprise Linux | RHEL-7 | rh-redis5-redissrc | Advisory build | 5.0.5-3.el7 | RHSA-2021:3947 |
| Red Hat Enterprise Linux | RHEL-7 | rh-redis5-redisx86_64 | Advisory build | 5.0.5-3.el7 | RHSA-2021:3947 |
| Red Hat Enterprise Linux | RHEL-7 | rh-redis5-redis-debuginfoppc64le | Advisory build | 5.0.5-3.el7 | RHSA-2021:3947 |
| Red Hat Enterprise Linux | RHEL-7 | rh-redis5-redis-debuginfos390x | Advisory build | 5.0.5-3.el7 | RHSA-2021:3947 |
| Red Hat Enterprise Linux | RHEL-7 | rh-redis5-redis-debuginfox86_64 | Advisory build | 5.0.5-3.el7 | RHSA-2021:3947 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfoaarch64 | Advisory build | 5.0.3-5.module+el8.1.0+12925+6460abef | RHSA-2021:3946 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfoaarch64 | Advisory build | 5.0.3-5.module+el8.2.0+12926+485b5fc9 | RHSA-2021:3944 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfoaarch64 | Advisory build | 5.0.3-5.module+el8.4.0+12927+b9845322 | RHSA-2021:3918 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfoaarch64 | Advisory build | 6.0.9-5.module+el8.4.0+12929+1bb0d2aa | RHSA-2021:3945 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfoppc64le | Advisory build | 5.0.3-5.module+el8.1.0+12925+6460abef | RHSA-2021:3946 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfoppc64le | Advisory build | 5.0.3-5.module+el8.2.0+12926+485b5fc9 | RHSA-2021:3944 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfoppc64le | Advisory build | 5.0.3-5.module+el8.4.0+12927+b9845322 | RHSA-2021:3918 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfoppc64le | Advisory build | 6.0.9-5.module+el8.4.0+12929+1bb0d2aa | RHSA-2021:3945 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfos390x | Advisory build | 5.0.3-5.module+el8.1.0+12925+6460abef | RHSA-2021:3946 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfos390x | Advisory build | 5.0.3-5.module+el8.2.0+12926+485b5fc9 | RHSA-2021:3944 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfos390x | Advisory build | 5.0.3-5.module+el8.4.0+12927+b9845322 | RHSA-2021:3918 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfos390x | Advisory build | 6.0.9-5.module+el8.4.0+12929+1bb0d2aa | RHSA-2021:3945 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfox86_64 | Advisory build | 5.0.3-5.module+el8.1.0+12925+6460abef | RHSA-2021:3946 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfox86_64 | Advisory build | 5.0.3-5.module+el8.2.0+12926+485b5fc9 | RHSA-2021:3944 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfox86_64 | Advisory build | 5.0.3-5.module+el8.4.0+12927+b9845322 | RHSA-2021:3918 |
| Red Hat Enterprise Linux | RHEL-8 | redis-debuginfox86_64 | Advisory build | 6.0.9-5.module+el8.4.0+12929+1bb0d2aa | RHSA-2021:3945 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
Redis is an open source, in-memory database that persists on disk. In affected versions an integer overflow bug in Redis can be exploited to corrupt the heap and potentially result with remote code execution. The vulnerability involves changing the default proto-max-bulk-len and client-query-buffer-limit configuration parameters to very large values and constructing specially crafted very large stream elements. The problem is fixed in Redis 6.2.6, 6.0.16 and 5.0.14. For users unable to upgrade an additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the proto-max-bulk-len configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| redis | redis | >= 5.0.0, < 5.0.14 (affected)>= 6.0.0, < 6.0.16 (affected)>= 6.2.0, < 6.2.6 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-190 CWE-190: Integer Overflow or Wraparound
- CWE-680 CWE-680: Integer Overflow to Buffer Overflow
References
9- https://github.com/redis/redis/commit/f6a40570fa63d5afdd596c78083d754081d80ae3
- https://github.com/redis/redis/security/advisories/GHSA-f434-69fm-g45v
- FEDORA-2021-61c487f241 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/
- FEDORA-2021-8913c7900c https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/
- FEDORA-2021-aa94492a09 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/
- GLSA-202209-17 https://security.gentoo.org/glsa/202209-17
- https://security.netapp.com/advisory/ntap-20211104-0003/
- DSA-5001 https://www.debian.org/security/2021/dsa-5001
- https://www.oracle.com/security-alerts/cpuapr2022.html
Provider assertions
2GitHub_M · cna
Integer overflow issue with Streams in Redis
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9870f6c12863a7703f44d9fe755f5ab3b93d024fb701fdade9253574c6dc0d2d
- Ingested
- 23 Sep 2026, 07:54:29 UTC
- Source record
- Official CVE record