USN-6531-1: Redis vulnerabilities
5 December 2023
Several security issues were fixed in Redis.
Releases
Packages
- redis - Persistent key-value database with network interface
Details
Seiya Nakata and Yudai Fujiwara discovered that Redis incorrectly handled
certain specially crafted Lua scripts. An attacker could possibly use this
issue to cause heap corruption and execute arbitrary code.
(CVE-2022-24834)
SeungHyun Lee discovered that Redis incorrectly handled specially crafted
commands. An attacker could possibly use this issue to trigger an integer
overflow, which might cause Redis to allocate impossible amounts of memory,
resulting in a denial of service via an application crash. (CVE-2022-35977)
Tom Levy discovered that Redis incorrectly handled crafted string matching
patterns. An attacker could possibly use this issue to cause Redis to hang,
resulting in a denial of service. (CVE-2022-36021)
Yupeng Yang discovered that Redis incorrectly handled specially crafted
commands. An attacker could possibly use this issue to trigger an integer
overflow, resulting in a denial of service via an application crash.
(CVE-2023-25155)
It was discovered that Redis incorrectly handled a specially crafted
command. An attacker could possibly use this issue to create an invalid
hash field, which could potentially cause Redis to crash on future access.
(CVE-2023-28856)
Alexander Aleksandrovič Klimov discovered that Redis incorrectly listened
to a Unix socket before setting proper permissions. A local attacker could
possibly use this issue to connect, bypassing intended permissions.
(CVE-2023-45145)
Update instructions
The problem can be corrected by updating your system to the following package versions:
Ubuntu 22.04
-
redis-server
-
5:6.0.16-1ubuntu1+esm1
Available with Ubuntu Pro
-
redis-tools
-
5:6.0.16-1ubuntu1+esm1
Available with Ubuntu Pro
Ubuntu 20.04
-
redis-server
-
5:5.0.7-2ubuntu0.1+esm2
Available with Ubuntu Pro
-
redis-tools
-
5:5.0.7-2ubuntu0.1+esm2
Available with Ubuntu Pro
Ubuntu 18.04
-
redis-server
-
5:4.0.9-1ubuntu0.2+esm4
Available with Ubuntu Pro
-
redis-tools
-
5:4.0.9-1ubuntu0.2+esm4
Available with Ubuntu Pro
Ubuntu 16.04
-
redis-server
-
2:3.0.6-1ubuntu0.4+esm2
Available with Ubuntu Pro
-
redis-tools
-
2:3.0.6-1ubuntu0.4+esm2
Available with Ubuntu Pro
Ubuntu 14.04
-
redis-server
-
2:2.8.4-2ubuntu0.2+esm3
Available with Ubuntu Pro
-
redis-tools
-
2:2.8.4-2ubuntu0.2+esm3
Available with Ubuntu Pro
In general, a standard system update will make all the necessary changes.