Redis is an open source, in-memory database that persists on disk. When parsing an incoming Redis Standard Protocol (RESP) request, Redis allocates memory according to user-specified values which determine the number of elements (in the multi-bulk header) and size of each element (in the bulk header). An attacker delivering specially crafted requests over multiple connections can cause the server to allocate significant amount of memory. Because the same parsing mechanism is used to handle authentication requests, this vulnerability can also be exploited by unauthenticated users. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. An additional workaround to mitigate this problem without patching the redis-server executable is to block access to prevent unauthenticated users from connecting to Redis. This can be done in different ways: Using network access control tools like firewalls, iptables, security groups, etc. or Enabling TLS and requiring users to authenticate using client side certificates.
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | alma-upgrade-redisalma-upgrade-redis-develalma-upgrade-redis-doc | May 4, 2022 | Oct 4, 2021 | |
| Alpine Linux | alpine-linux-upgrade-redis | Mar 26, 2024 | Oct 4, 2021 | |
| Amazon Linux Ami 2 | amazon-linux-ami-2-upgrade-redisamazon-linux-ami-2-upgrade-redis-debuginfoamazon-linux-ami-2-upgrade-redis-develamazon-linux-ami-2-upgrade-redis-doc | Sep 28, 2023 | Oct 4, 2021 | |
| Centos_linux | — | centos-upgrade-rediscentos-upgrade-redis-debuginfocentos-upgrade-redis-debugsourcecentos-upgrade-redis-develcentos-upgrade-redis-doc | Oct 20, 2021 | Oct 19, 2021 |
| Debian | debian-upgrade-redis | Nov 29, 2021 | Oct 4, 2021 | |
| Freebsd | freebsd-upgrade-package-redis-develfreebsd-upgrade-package-redisfreebsd-upgrade-package-redis6freebsd-upgrade-package-redis5 | Nov 4, 2022 | Oct 5, 2021 | |
| Gentoo Linux | gentoo-linux-upgrade-dev-db-redis | Sep 30, 2022 | Oct 4, 2021 | |
| Oracle_linux | — | oracle-linux-upgrade-redisoracle-linux-upgrade-redis-develoracle-linux-upgrade-redis-doc | Oct 20, 2021 | Oct 4, 2021 |
| Redhat_linux | redhat-upgrade-redisredhat-upgrade-redis-debuginforedhat-upgrade-redis-debugsourceredhat-upgrade-redis-develredhat-upgrade-redis-doc | Oct 20, 2021 | Oct 19, 2021 | |
| Redislabs Redis | redislabs-redis-upgrade-5_0_14redislabs-redis-upgrade-6_0_16redislabs-redis-upgrade-6_2_6 | Oct 17, 2025 | Oct 4, 2021 | |
| Rocky_linux | rocky-upgrade-redisrocky-upgrade-redis-debuginforocky-upgrade-redis-debugsourcerocky-upgrade-redis-devel | Mar 12, 2024 | Oct 4, 2021 | |
| Suse | — | suse-upgrade-redis | Nov 24, 2021 | Oct 4, 2021 |
| Ubuntu | ubuntu-pro-upgrade-redisubuntu-pro-upgrade-redis-serverubuntu-pro-upgrade-redis-tools | Mar 22, 2023 | Oct 4, 2021 | |
| Vmware Photon_os | vmware-photon_os_update_tdnf | Jan 20, 2025 | Oct 4, 2021 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub