CVE-2021-32675

Description

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.

Risk Information

Base Score
7.5
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
Exploitation Probability
2.856

Associated Vulnerability

VulnerabilityOS Platform
Multiple vulnerabilities affected in Redis 5.0.9Windows
Redis update (ELSA-2021-3918) redis-5.0.3-5.module+el8.4.0+20382+7694043a.x86_64.rpmLinux
Redis-devel update (ELSA-2021-3918) redis-devel-5.0.3-5.module+el8.4.0+20382+7694043a.x86_64.rpmLinux
Redis-doc update (ELSA-2021-3918) redis-doc-5.0.3-5.module+el8.4.0+20382+7694043a.noarch.rpmLinux
(RHSA-2021:3918) redis:5 security update redis-5.0.3-5.module+el8.4.0+12927+b9845322.x86_64.rpmLinux
(RHSA-2021:3918) redis:5 security update redis-debugsource-5.0.3-5.module+el8.4.0+12927+b9845322.x86_64.rpmLinux
(RHSA-2021:3918) redis:5 security update redis-devel-5.0.3-5.module+el8.4.0+12927+b9845322.x86_64.rpmLinux
(RHSA-2021:3918) redis:5 security update redis-doc-5.0.3-5.module+el8.4.0+12927+b9845322.noarch.rpmLinux
(RHSA-2021:3945) redis:6 security update redis-6.0.9-5.module+el8.4.0+12929+1bb0d2aa.x86_64.rpmLinux
(RHSA-2021:3945) redis:6 security update redis-debugsource-6.0.9-5.module+el8.4.0+12929+1bb0d2aa.x86_64.rpmLinux
(RHSA-2021:3945) redis:6 security update redis-devel-6.0.9-5.module+el8.4.0+12929+1bb0d2aa.x86_64.rpmLinux
(RHSA-2021:3945) redis:6 security update redis-doc-6.0.9-5.module+el8.4.0+12929+1bb0d2aa.noarch.rpmLinux
Redis update (ELSA-2021-3945) redis-6.0.9-5.module+el8.4.0+20384+68ad316c.x86_64.rpmLinux
Redis-devel update (ELSA-2021-3945) redis-devel-6.0.9-5.module+el8.4.0+20384+68ad316c.x86_64.rpmLinux
Redis-doc update (ELSA-2021-3945) redis-doc-6.0.9-5.module+el8.4.0+20384+68ad316c.noarch.rpmLinux
redis security update(DSA-5001-1) redis_5.0.14-1+deb10u1_all.debLinux
redis security update(DSA-5001-1) redis_6.0.16-1+deb11u1_all.debLinux
Multiple vulnerabilities affected in Redis 5.0.9 (For Linux)Linux
(RHSA-2021:3918)Important: security update redis-debuginfo-5.0.3-5.module+el8.4.0+12927+b9845322.x86_64.rpmLinux
Important: redis:5 security update redis-5.0.3-5.module_el8.4.0+2583+b9845322.x86_64.rpmLinux
Important: redis:5 security update redis-devel-5.0.3-5.module_el8.4.0+2583+b9845322.x86_64.rpmLinux
Important: redis:5 security update redis-doc-5.0.3-5.module_el8.4.0+2583+b9845322.noarch.rpmLinux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234