Tuesday, December 5, 2023

[USN-6531-1] Redis vulnerabilities

-----BEGIN PGP SIGNATURE-----

wsF5BAABCAAjFiEEhC9y9XdAFQPCvYXchGmXSGiknnUFAmVvV1oFAwAAAAAACgkQhGmXSGiknnV6
xA//Y4SRcu4z/0SXRBG0+6tcoTgwoSsPsYiE214KtZgLZJttoxz8mGG6Rjyg3XUcUDFqNAdN+nwc
B152l7ycPWNkAV9j5WPFTSC8Wq4aBUYjinvzdGiBoN5Xg0dii9rGBiNgNNbznptz/veWDGvXrhYl
vzHiK2R0jDjFeBiWyLF5RJ20x02vVgu2E0weWnyKy7Qs+faHbMBeRferYsI22XHWzEThfFCZbaOq
KCeBNG67hUE//15NQauDCedp7gta7Ds1wkkOwqxQ3TpBj6I76fCuIuolRQ9qWHBOcJZbxAvYji3P
bT+WQvKbfZoTvKqQDsemVFbwZlh2Vutycn5ncMJ+7PbNpO7Nt8I4/y0T5cAXOxQwCdLS/JgZ7kTG
ku6c55jcZdMt23t63ptuPz3FxrEtlBkCeasN/drFavJ5snzG1t0xAWws3WF16GbIsIGV03TqxbwD
vB+5NKGUkk0OHDbaARo75oqnrZxcuTWw8ufLW3XUG9p+bkWqFLMQZgIqWguzCNOoX+1H5eXwtelS
p13KQMHlY2iG/B04UKc4FJHOwkIY5FUFWXbh+YVMVw6EWb0vOsZC4bec2+Xz8vO6a0DdecpDS2im
UmnP5psSFmirBKK+xjfZwTki2XZ69eM7kGrd7c7yPBH53RhTSvdHSHLQO/ezt2dCKzZVZCQEcRlU
hLU=
=2BEk
-----END PGP SIGNATURE-----
==========================================================================
Ubuntu Security Notice USN-6531-1
December 05, 2023

redis 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

No comments:

Post a Comment