Skip to content
OpenAdvisories
High · 7.0 Public exploit CVE-2022-31144 EUVD-2022-52768

Potential heap overflow in Redis

Published Jul 19, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
redis redis >= 7.0.0, < 7.0.4 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 redis 5:7.0.4-1 —
Debian 13 redis 5:7.0.4-1 —
Debian 12 redis 5:7.0.4-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed redis 7.0.4-1.1 openSUSE-SU-2024:12217-1
ReleasePackageFixed inAdvisory
Alpine v3.24 redis 7.0.4-r0 —
Alpine v3.23 redis 7.0.4-r0 —
Alpine v3.22 redis 7.0.4-r0 —
Alpine v3.21 redis 7.0.4-r0 —
Alpine v3.20 redis 7.0.4-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 redis 7.0.4-r0 —
Alpine v3.18 redis 7.0.4-r0 —
Alpine v3.17 redis 7.0.4-r0 —
Alpine v3.16 redis 7.0.4-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

  • SpiralBL0CK/CVE-2022-31144 ★ 1 · Feb 3, 2023

    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

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 1

References