USN-6531-1: Redis vulnerabilities

Published Dec 5, 2023
·
Updated

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)

Affected Software

20 affected componentsFixes available
All of the following
ubuntu/redis-server<5:6.0.16-1ubuntu1+esm1
5:6.0.16-1ubuntu1+esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/redis-tools<5:6.0.16-1ubuntu1+esm1
5:6.0.16-1ubuntu1+esm1
Ubuntu Ubuntu=22.04
All of the following
ubuntu/redis-server<5:5.0.7-2ubuntu0.1+esm2
5:5.0.7-2ubuntu0.1+esm2
Ubuntu Ubuntu=20.04
All of the following
ubuntu/redis-tools<5:5.0.7-2ubuntu0.1+esm2
5:5.0.7-2ubuntu0.1+esm2
Ubuntu Ubuntu=20.04
All of the following
ubuntu/redis-server<5:4.0.9-1ubuntu0.2+esm4
5:4.0.9-1ubuntu0.2+esm4
Ubuntu Ubuntu=18.04
All of the following
ubuntu/redis-tools<5:4.0.9-1ubuntu0.2+esm4
5:4.0.9-1ubuntu0.2+esm4
Ubuntu Ubuntu=18.04
All of the following
ubuntu/redis-server<2:3.0.6-1ubuntu0.4+esm2
2:3.0.6-1ubuntu0.4+esm2
Ubuntu Ubuntu=16.04
All of the following
ubuntu/redis-tools<2:3.0.6-1ubuntu0.4+esm2
2:3.0.6-1ubuntu0.4+esm2
Ubuntu Ubuntu=16.04
All of the following
ubuntu/redis-server<2:2.8.4-2ubuntu0.2+esm3
2:2.8.4-2ubuntu0.2+esm3
Ubuntu Ubuntu=14.04
All of the following
ubuntu/redis-tools<2:2.8.4-2ubuntu0.2+esm3
2:2.8.4-2ubuntu0.2+esm3
Ubuntu Ubuntu=14.04

Event History

Dec 5, 2023
Advisory Published
via Ubuntu·12:00 AM

Child vulnerabilities

Contains the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of USN-6531-1?

The severity of USN-6531-1 is high.

2

How does Redis handle specially crafted Lua scripts?

Redis incorrectly handles certain specially crafted Lua scripts.

3

What can an attacker do with the Redis vulnerability (CVE-2022-24834)?

An attacker could possibly use this issue to cause heap corruption and execute arbitrary code.

4

What versions of Redis are affected by USN-6531-1?

Versions 5:6.0.16-1ubuntu1+esm1, 5:5.0.7-2ubuntu0.1+esm2, 5:4.0.9-1ubuntu0.2+esm4, 2:3.0.6-1ubuntu0.4+esm2, and 2:2.8.4-2ubuntu0.2+esm3 of Redis are affected by USN-6531-1.

5

How can I fix the Redis vulnerabilities in Ubuntu?

Apply the recommended updates for the redis-server and redis-tools packages as mentioned in the Ubuntu Security Notices (USN) advisory USN-6531-1.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203