Skip to content

Integer Overflow in several Redis commands can lead to denial of service.

Moderate
yossigo published GHSA-x2r7-j9vw-3w83 Feb 28, 2023

Package

redis-server

Affected versions

All

Patched versions

7.0.9, 6.2.11, 6.0.18

Description

Impact

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

The problem is fixed in Redis versions 6.0.18, 6.2.11, 7.0.9.

Credit

The issue has been identified by Yupeng Yang.

For more information

If you have any questions or comments about this advisory:

Severity

Moderate
5.5
/ 10

CVSS base metrics

Attack vector
Local
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

CVE ID

CVE-2023-25155

Weaknesses