CVE-2021-29478
Published: 4 May 2021
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. An integer overflow bug in Redis 6.2 before 6.2.3 could be exploited to corrupt the heap and potentially result with remote code execution. Redis 6.0 and earlier are not directly affected by this issue. The problem is fixed in version 6.2.3. An additional workaround to mitigate the problem without patching the `redis-server` executable is to prevent users from modifying the `set-max-intset-entries` configuration parameter. This can be done using ACL to restrict unprivileged users from using the `CONFIG SET` command.
Notes
Author | Note |
---|---|
ebarretto | Redis 6.0 and earlier are not directly affected by this issue. |
Priority
Status
Package | Release | Status |
---|---|---|
redis Launchpad, Ubuntu, Debian |
bionic |
Not vulnerable
|
focal |
Not vulnerable
|
|
groovy |
Ignored
(end of life)
|
|
hirsute |
Not vulnerable
|
|
impish |
Not vulnerable
(5:6.0.13-1)
|
|
jammy |
Not vulnerable
(5:6.0.13-1)
|
|
trusty |
Not vulnerable
|
|
upstream |
Released
(5:6.0.13-1)
|
|
xenial |
Not vulnerable
|
Severity score breakdown
Parameter | Value |
---|---|
Base score | 8.8 |
Attack vector | Network |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | High |
Integrity impact | High |
Availability impact | High |
Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
References
- https://groups.google.com/g/redis-db/c/6GSWzTW0PR8/m/8FbdIEEoBAAJ
- https://github.com/redis/redis/commit/29900d4e6bccdf3691bedf0ea9a5d84863fa3592
- https://github.com/redis/redis/security/advisories/GHSA-qh52-crrg-44g3
- https://redis.io/
- https://www.cve.org/CVERecord?id=CVE-2021-29478
- NVD
- Launchpad
- Debian