CVE-2021-32675 DoS vulnerability in Redis
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
27 packages: 22 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netapp management services for element software | All versions | No fix listed | No fix yet |
| netapp management services for netapp hci | All versions | No fix listed | No fix yet |
| alpine/redis(Alpine v3.11) | >= 5.0.0, < 5.0.14-r0 | 5.0.14-r0 | Fixed |
| alpine/redis(Alpine v3.12) | >= 5.0.0, < 5.0.14-r0 | 5.0.14-r0 | Fixed |
| alpine/redis(Alpine v3.13) | >= 6.0.0, < 6.0.16-r0 | 6.0.16-r0 | Fixed |
| alpine/redis(Alpine v3.14) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 | Fixed |
| alpine/redis(Alpine v3.15) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 | Fixed |
| alpine/redis(Alpine v3.16) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 | Fixed |
| alpine/redis(Alpine v3.17) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 | Fixed |
| alpine/redis(Alpine v3.18) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 | Fixed |
| alpine/redis(Alpine v3.19) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 | Fixed |
| alpine/redis(Alpine v3.20) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 | Fixed |
| alpine/redis(Alpine v3.21) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 | Fixed |
| alpine/redis(Alpine v3.22) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 | Fixed |
| alpine/redis(Alpine v3.23) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 | Fixed |
| alpine/redis(Alpine v3.24) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 | Fixed |
| debian/redis(Debian 12) | < 5:6.0.16-1 | 5:6.0.16-1 | Fixed |
| debian/redis(Debian 13) | < 5:6.0.16-1 | 5:6.0.16-1 | Fixed |
| debian/redis(Debian 14) | < 5:6.0.16-1 | 5:6.0.16-1 | Fixed |
| Redis | = < 5.0.14; = >= 6.0.0, < 6.0.16; = >= 6.2.0, < 6.2.6; >= 5.0.0, < 5.0.14 +2 more | 5.0.14, 6.0.16, 6.2.6 | Fixed |
| ubuntu/redis(Ubuntu Pro 14.04) | < 2:2.8.4-2ubuntu0.2+esm2; = 2:2.6.13-1; = 2:2.6.16-3; = 2:2.8.0-1 +4 more | 2:2.8.4-2ubuntu0.2+esm2 | Fixed |
| ubuntu/redis(Ubuntu Pro 16.04) | < 2:3.0.6-1ubuntu0.4+esm1; = 2:3.0.3-3; = 2:3.0.5-1; = 2:3.0.5-2 +6 more | 2:3.0.6-1ubuntu0.4+esm1 | Fixed |
| ubuntu/redis(Ubuntu Pro 18.04) | < 5:4.0.9-1ubuntu0.2+esm3; = 4:4.0.1-7; = 4:4.0.2-6; = 4:4.0.2-9 +10 more | 5:4.0.9-1ubuntu0.2+esm3 | Fixed |
| ubuntu/redis(Ubuntu Pro 20.04) | < 5:5.0.7-2ubuntu0.1+esm1; = 5:5.0.5-2build1; = 5:5.0.6-1; = 5:5.0.7-1 +3 more | 5:5.0.7-2ubuntu0.1+esm1 | Fixed |
| debian linux | = 10.0; = 11.0 | No fix listed | Versions listed |
| fedoraproject fedora | = 33; = 34; = 35 | No fix listed | Versions listed |
| oracle communications operations monitor | = 4.3; = 4.4; = 5.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/redis(Debian:12) | < 5:6.0.16-1 | 5:6.0.16-1 |
| debian/redis(Debian:13) | < 5:6.0.16-1 | 5:6.0.16-1 |
| debian/redis(Debian:14) | < 5:6.0.16-1 | 5:6.0.16-1 |
| Redis | >= 5.0.0, < 5.0.14 | 5.0.14 |
| Redis | >= 6.0.0, < 6.0.16 | 6.0.16 |
| Redis | >= 6.2.0, < 6.2.6 | 6.2.6 |
| fedoraproject fedora | = 33 | No fix listed |
| fedoraproject fedora | = 34 | No fix listed |
| fedoraproject fedora | = 35 | No fix listed |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| netapp management services for element software | All versions | No fix listed |
| netapp management services for netapp hci | All versions | No fix listed |
| oracle communications operations monitor | = 4.3 | No fix listed |
| oracle communications operations monitor | = 4.4 | No fix listed |
| oracle communications operations monitor | = 5.0 | No fix listed |
| Redis | = < 5.0.14 | No fix listed |
| Redis | = >= 6.0.0, < 6.0.16 | No fix listed |
| Redis | = >= 6.2.0, < 6.2.6 | No fix listed |
| alpine/redis(Alpine:v3.11) | >= 5.0.0, < 5.0.14-r0 | 5.0.14-r0 |
| alpine/redis(Alpine:v3.12) | >= 5.0.0, < 5.0.14-r0 | 5.0.14-r0 |
| alpine/redis(Alpine:v3.13) | >= 6.0.0, < 6.0.16-r0 | 6.0.16-r0 |
| alpine/redis(Alpine:v3.14) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 |
| alpine/redis(Alpine:v3.15) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 |
| alpine/redis(Alpine:v3.16) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 |
Show 47 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/redis(Alpine:v3.17) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 |
| alpine/redis(Alpine:v3.18) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 |
| alpine/redis(Alpine:v3.19) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 |
| alpine/redis(Alpine:v3.20) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 |
| alpine/redis(Alpine:v3.21) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 |
| alpine/redis(Alpine:v3.22) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 |
| alpine/redis(Alpine:v3.23) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 |
| alpine/redis(Alpine:v3.24) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 |
| ubuntu/redis(Ubuntu:Pro:14.04) | < 2:2.8.4-2ubuntu0.2+esm2 | 2:2.8.4-2ubuntu0.2+esm2 |
| ubuntu/redis(Ubuntu:Pro:14.04) | = 2:2.6.13-1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:14.04) | = 2:2.6.16-3 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:14.04) | = 2:2.8.0-1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:14.04) | = 2:2.8.2-1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:14.04) | = 2:2.8.4-2 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:14.04) | = 2:2.8.4-2ubuntu0.2 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:14.04) | = 2:2.8.4-2ubuntu0.2+esm1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:16.04) | < 2:3.0.6-1ubuntu0.4+esm1 | 2:3.0.6-1ubuntu0.4+esm1 |
| ubuntu/redis(Ubuntu:Pro:16.04) | = 2:3.0.3-3 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:16.04) | = 2:3.0.5-1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:16.04) | = 2:3.0.5-2 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:16.04) | = 2:3.0.5-3 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:16.04) | = 2:3.0.5-4 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:16.04) | = 2:3.0.6-1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:16.04) | = 2:3.0.6-1ubuntu0.2 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:16.04) | = 2:3.0.6-1ubuntu0.3 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:16.04) | = 2:3.0.6-1ubuntu0.4 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:18.04) | < 5:4.0.9-1ubuntu0.2+esm3 | 5:4.0.9-1ubuntu0.2+esm3 |
| ubuntu/redis(Ubuntu:Pro:18.04) | = 4:4.0.1-7 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:18.04) | = 4:4.0.2-6 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:18.04) | = 4:4.0.2-9 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:18.04) | = 5:4.0.5-1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:18.04) | = 5:4.0.6-1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:18.04) | = 5:4.0.6-2 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:18.04) | = 5:4.0.7-1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:18.04) | = 5:4.0.8-1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:18.04) | = 5:4.0.8-2 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:18.04) | = 5:4.0.9-1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:18.04) | = 5:4.0.9-1ubuntu0.1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:18.04) | = 5:4.0.9-1ubuntu0.2 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:18.04) | = 5:4.0.9-1ubuntu0.2+esm2 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:20.04) | < 5:5.0.7-2ubuntu0.1+esm1 | 5:5.0.7-2ubuntu0.1+esm1 |
| ubuntu/redis(Ubuntu:Pro:20.04) | = 5:5.0.5-2build1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:20.04) | = 5:5.0.6-1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:20.04) | = 5:5.0.7-1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:20.04) | = 5:5.0.7-2 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:20.04) | = 5:5.0.7-2ubuntu0.1~esm1 | No fix listed |
| ubuntu/redis(Ubuntu:Pro:20.04) | = 5:5.0.7-2ubuntu0.1 | No fix listed |
References
- Debian Security Tracker CVE-2021-32675 vendor-advisory
- github.com issue-tracking patch third-party-advisory
- github.com issue-tracking third-party-advisory
- [geode-notifications] 20211013 [GitHub] [geode] jdeppe-pivotal opened a new pull request #6994: GEODE-9676: Limit array and string sizes for unauthenticated Radish connections mailing-list
- FEDORA-2021-61c487f241 vendor-advisory
- FEDORA-2021-8913c7900c vendor-advisory
- FEDORA-2021-aa94492a09 vendor-advisory
- GLSA-202209-17 third-party-advisory vendor-advisory
- security.netapp.com third-party-advisory
- DSA-5001 third-party-advisory vendor-advisory
- www.oracle.com patch third-party-advisory
- security.alpinelinux.org vendor-advisory
- ubuntu.com issue-tracking
- ubuntu.com vendor-advisory
- www.cve.org issue-tracking