Skip to content

Integer overflow in the Redis HRANDFIELD and ZRANDMEMBER commands may lead to denial-of-service

Moderate
yossigo published GHSA-r8w2-2m53-gprj Jan 20, 2023

Package

Redis

Affected versions

6.2 or newer

Patched versions

6.2.9, 7.0.8

Description

Impact

Authenticated users can issue a HRANDFIELD or ZRANDMEMBER command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion.

This problem affects Redis 6.2 or newer.

Patches

The problem is fixed in Redis versions 6.2.9 and 7.0.8.

Credit

This issue has been identified and reported by yype on GitHub.

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-22458

Weaknesses