Skip to main content
← All vulnerabilities
CVE-2024-55656

RedisBloom Integer Overflow Remote Code Execution Vulnerability

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.2.19, 2.4.12, 2.6.14, 2.8.2
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • RedisBloom RedisBloom

    From 2.2.0 · fixed in 2.2.19; From 2.4.0 · fixed in 2.4.12; From 2.6.0 · fixed in 2.6.14; From 2.8.0 · fixed in 2.8.2

References 2

GitHub · RedisBloom/RedisBloom

GitHub · rick2600/redis-stack-CVE-2024-55656