cbcvebase.
CVE-2023-36824
published 2023-07-11

CVE-2023-36824: Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some…

PriorityP275high8.8CVSS 3.1
AVNACLPRLUINSUCHIHAH
EPSS
74.82%
99.4th percentile
Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted `COMMAND GETKEYS` or `COMMAND GETKEYSANDFLAGS`and authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.

Affected

8 ranges
VendorProductVersion rangeFixed in
debianredis< redis 5:7.0.15-1~deb12u1 (bookworm)redis 5:7.0.15-1~deb12u1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
redisredis
redisredis>= 0 < 5:7.0.15-1~deb12u15:7.0.15-1~deb12u1
redisredis>= 0 < 5:7.0.12-15:7.0.12-1
redisredis>= 0 < 5:7.0.12-15:7.0.12-1
redisredis>= 7.0.0 < 7.0.127.0.12

Detection & IOCsextracted from sources · hover to see the quote

  • Monitor for execution of the COMMAND GETKEYS or COMMAND GETKEYSANDFLAGS Redis commands, especially when issued by authenticated users, as these can be used to trigger the heap overflow.
  • Monitor for authenticated Redis users with ACL rules that match key names executing commands referencing a variadic list of key names, which is a second exploitation vector for this vulnerability.
  • Scope the detection to Redis 7.0.0 through 7.0.11 only; versions below 7.0 and 7.0.12+ are not affected.
  • ·Only Redis 7.0.x versions prior to 7.0.12 are vulnerable; Redis 6.x and earlier are not affected.
  • ·The vulnerability requires an authenticated session; unauthenticated attackers cannot directly exploit this flaw.
  • ·The fix is available in Redis 7.0.12; Debian packages were fixed in 5:7.0.12-1 (forky/sid/trixie) and 5:7.0.15-1~deb12u1 (bookworm).

CVSS provenance

nvdv3.18.8HIGHCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
osv8.8HIGH
vendor_debian7.4HIGH
vendor_redhat7.4HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.