CVE-2023-25155: Integer Overflow in several Redis commands can lead to denial of service.

Published Mar 1, 2023
·
Updated

(CVE-2022-36021) String matching commands (like SCAN or KEYS) with a specially crafted pattern to trigger a denial-of-service attack on Redis, causing it to hang and consume 100% CPU time. https://github.com/gentoo/gentoo/pull/29860

Other sources

Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD commands can trigger an integer overflow, resulting in a runtime assertion and termination of the Redis server process. This problem affects all Redis versions. Patches were released in Redis version(s) 6.0.18, 6.2.11 and 7.0.9.

Ubuntu

Redis is vulnerable to a denial of service, caused by an integer overflow. By sending a specially-crafted SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD command, a remote authenticated attacker could exploit this vulnerability to cause a runtime assertion and termination of the Redis server process.

IBM

Affected Software

11 affected componentsFixes available
debian/redis<=5:5.0.14-1+deb10u2, <=5:5.0.14-1+deb10u5, <=5:6.0.16-1+deb11u2
5:7.0.15-1~deb12u15:7.0.15-1
ubuntu/redis<5:4.0.9-1ubuntu0.2+
5:4.0.9-1ubuntu0.2+
ubuntu/redis<5:5.0.7-2ubuntu0.1+
5:5.0.7-2ubuntu0.1+
ubuntu/redis<5:6.0.16-1ubuntu1+
5:6.0.16-1ubuntu1+
ubuntu/redis<2:2.8.4-2ubuntu0.2+
2:2.8.4-2ubuntu0.2+
ubuntu/redis<6.0.18, <6.2.11, <7.0.9
6.0.186.2.117.0.9
ubuntu/redis<2:3.0.6-1ubuntu0.4+
2:3.0.6-1ubuntu0.4+
Redis redis<6.0.18
Redis redis>=6.2.0<6.2.11
Redis redis>=7.0.0<7.0.9
IBM Planning Analytics<=2.0

Event History

Mar 1, 2023
Data Sourced
via Red Hat·05:18 AM
DescriptionSeverityAffected Software
Mar 2, 2023
CVE Published
via Ubuntu·12:00 AM
CVE Published
via MITRE·03:01 AM
Data Sourced
via MITRE·03:01 AM
DescriptionSeverityWeakness
Jan 12, 2024
Data Sourced
via Launchpad·12:16 AM
Description

Parent advisories

This vulnerability appears in the following advisories.

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 CVE-2023-25155?

CVE-2023-25155 is a vulnerability in Redis, an in-memory database that persists on disk, which can be exploited by authenticated users issuing specially crafted SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD commands to trigger an integer overflow, leading to the termination of the Redis server process.

2

How does CVE-2023-25155 affect Redis?

CVE-2023-25155 affects all versions of Redis up to and including 6.0.18, 6.2.11, and 7.0.9, where authenticated users can trigger an integer overflow by using specific commands.

3

What is the severity of CVE-2023-25155?

CVE-2023-25155 has a severity rating of 6.5, which is considered medium.

4

How can the CVE-2023-25155 vulnerability be mitigated?

To mitigate the CVE-2023-25155 vulnerability, users should update their Redis installation to version 6.0.19, 6.2.12, or 7.0.10 or later, as these versions contain the necessary fixes.

5

Where can I find more information about CVE-2023-25155?

More information about CVE-2023-25155 can be found in the official reference links provided: [GitHub Commit](https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619), [Redis Release - 6.0.18](https://github.com/redis/redis/releases/tag/6.0.18), [Redis Release - 6.2.11](https://github.com/redis/redis/releases/tag/6.2.11).

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