CVE-2024-55656
RedisBloom Integer Overflow Remote Code Execution Vulnerability
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
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.
CVSS Scores
SSVC
- Decision:Track*
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
References (1)
URL | Tag | Source |
---|---|---|
https://github.com/RedisBloom/RedisBloom/security/advisories/GHSA-x5rx-rmq3-ff3h | X_refsource_confirm |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
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
|