// For flags

CVE-2024-55656

RedisBloom Integer Overflow Remote Code Execution Vulnerability

Severity Score

8.8
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

Track*
*SSVC
Descriptions

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.

This vulnerability allows remote attackers to execute arbitrary code on affected installations of Redis Stack. Authentication is required to exploit this vulnerability.
The specific flaw exists within the RedisBloom module. The issue results from the lack of proper validation of user-supplied data, which can result in an integer overflow before allocating a buffer. An attacker can leverage this vulnerability to execute code in the context of the service account.

*Credits: Ricardo Silva (@rick2600) and Gabriel Quadros (@gqsilva)
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Attack Vector
Network
Attack Complexity
Low
Authentication
Single
Confidentiality
Complete
Integrity
Complete
Availability
Complete
* Common Vulnerability Scoring System
SSVC
  • Decision:Track*
Exploitation
None
Automatable
No
Tech. Impact
Total
* Organization's Worst-case Scenario
Timeline
  • 2024-12-10 CVE Reserved
  • 2025-01-08 CVE Published
  • 2025-01-09 CVE Updated
  • 2025-01-09 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-190: Integer Overflow or Wraparound
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
RedisBloom
Search vendor "RedisBloom"
RedisBloom
Search vendor "RedisBloom" for product "RedisBloom"
>= 2.2.0 < 2.2.19
Search vendor "RedisBloom" for product "RedisBloom" and version " >= 2.2.0 < 2.2.19"
en
Affected
RedisBloom
Search vendor "RedisBloom"
RedisBloom
Search vendor "RedisBloom" for product "RedisBloom"
>= 2.4.0 < 2.4.12
Search vendor "RedisBloom" for product "RedisBloom" and version " >= 2.4.0 < 2.4.12"
en
Affected
RedisBloom
Search vendor "RedisBloom"
RedisBloom
Search vendor "RedisBloom" for product "RedisBloom"
>= 2.6.0 < 2.6.14
Search vendor "RedisBloom" for product "RedisBloom" and version " >= 2.6.0 < 2.6.14"
en
Affected
RedisBloom
Search vendor "RedisBloom"
RedisBloom
Search vendor "RedisBloom" for product "RedisBloom"
>= 2.8.0 < 2.8.2
Search vendor "RedisBloom" for product "RedisBloom" and version " >= 2.8.0 < 2.8.2"
en
Affected