CVE-2024-55656

HIGH CVSS 3.1: 8.8 EPSS 17.1%
Updated Jan 08, 2025
Redis
Parameter Value
CVSS 8.8 (HIGH)
Fixed In 2.2.19
Type CWE-190 (Integer Overflow)
Vendor Redis
Public PoC No

RedisBloom adds a set of probabilistic data structures to Redis. There is an integer overflow vulnerability in RedisBloom, which is a module used in Redis. The integer overflow vulnerability allows an attacker (a redis client which knows the password) to allocate memory in the heap lesser than the required memory due to wraparound.

Then read and write can be performed beyond this allocated memory, leading to info leak and OOB write. The integer overflow is in CMS.INITBYDIM command, which initialize a Count-Min Sketch to dimensions specified by user. It accepts two values (width and depth) and uses them to allocate memory in NewCMSketch().

This vulnerability is fixed in 2.2.19, 2.4.12, 2.6.14, and 2.8.2.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
Low
Basic privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)