CVE-2021-41099 Integer overflow issue with strings 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. An integer overflow bug in the underlying string library can be used to corrupt the heap and potentially result with denial of service or remote code execution. The vulnerability involves changing the default proto-max-bulk-len configuration parameter to a very large value and constructing specially crafted network payloads or commands. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. 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.
Upgrade path
24 packages: 20 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| netapp management services for element software and 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 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 and 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 |
| alpine/redis(Alpine:v3.17) | >= 6.2.0, < 6.2.6-r0 | 6.2.6-r0 |
Show 28 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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: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-41099 vendor-advisory
- github.com patch third-party-advisory
- github.com issue-tracking third-party-advisory
- 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