Buffer overflow in Redis

CVE-2022-31144

Redis is an in-memory database that persists on disk. A specially crafted `XAUTOCLAIM` command on a stream key in a specific state may result with heap overflow, and potentially remote code execution. This problem affects versions on the 7.x branch prior to 7.0.4. The patch is released in version 7.0.4.

Vulnerability class: Buffer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.032, 88.5th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Redis — versions >= 7.0.0, < 7.0.4

Weakness classification (CWE)

Public exploits and proof-of-concept code

1 public repository with exploit or proof-of-concept code for this CVE:

  • SpiralBL0CK/CVE-2022-31144 (1 star, last pushed 2024-12-08): CVE-2022-31144 dos pt redis, not finished yet or too soon, this can be turned into rce but oh well if you smart enough

Also mentioned in 7 other repositories (ARPSyndicate/cvemon, gglessner/redisClient, k0mi-tg/CVE-POC, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References