==========================================================================
Ubuntu Security Notice USN-6531-1
December 05, 2023redis vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 22.04 LTS (Available with Ubuntu Pro)
- Ubuntu 20.04 LTS (Available with Ubuntu Pro)
- Ubuntu 18.04 LTS (Available with Ubuntu Pro)
- Ubuntu 16.04 LTS (Available with Ubuntu Pro)
- Ubuntu 14.04 LTS (Available with Ubuntu Pro)
Summary:
Several security issues were fixed in Redis.
Software Description:
- 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 LTS (Available with Ubuntu Pro):
redis-server 5:6.0.16-1ubuntu1+esm1
redis-tools 5:6.0.16-1ubuntu1+esm1
Ubuntu 20.04 LTS (Available with Ubuntu Pro):
redis-server 5:5.0.7-2ubuntu0.1+esm2
redis-tools 5:5.0.7-2ubuntu0.1+esm2
Ubuntu 18.04 LTS (Available with Ubuntu Pro):
redis-server 5:4.0.9-1ubuntu0.2+esm4
redis-tools 5:4.0.9-1ubuntu0.2+esm4
Ubuntu 16.04 LTS (Available with Ubuntu Pro):
redis-server 2:3.0.6-1ubuntu0.4+esm2
redis-tools 2:3.0.6-1ubuntu0.4+esm2
Ubuntu 14.04 LTS (Available with Ubuntu Pro):
redis-server 2:2.8.4-2ubuntu0.2+esm3
redis-tools 2:2.8.4-2ubuntu0.2+esm3
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-6531-1
CVE-2022-24834, CVE-2022-35977, CVE-2022-36021, CVE-2023-25155,
CVE-2023-28856, CVE-2023-45145