CVE & CISA-KEV Catalog

CVE-2024-31228

MEDIUM
5.5
CVSS v3
NVD

Description

Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially crafted, long string match patterns on supported commands such as `KEYS`, `SCAN`, `PSUBSCRIBE`, `FUNCTION LIST`, `COMMAND LIST` and ACL definitions. Matching of extremely long patterns may result in unbounded recursion, leading to stack overflow and process crash. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

How to fix

Remediation Available
redictDebian
Fixed in:7.3.1+ds-1CVE-2024-31228
discovery/discoveryRocky
Fixed in:server-rhel9@sha256:b41eeb83e5c7ad9937a90ac6247fe5305a7ff90b39ae6a23765e0f2e22bdca70_arm64RHSA-2025:1249
Fixed in:ui-rhel9@sha256:c5a4ba16f7322e2b89fefa198dc673434f73709a47cf7a85bbccf1ba7a73dd7c_arm64RHSA-2025:1249
Fixed in:server-rhel9@sha256:c6488740a778ca3a1aa3dfdc513d4989ac366728d9f93fe8a57a51c562270771_amd64RHSA-2025:1249
Fixed in:ui-rhel9@sha256:c6f7be7cb58e77958c518fdd68c80a745dcec48fa5397af8c68593254e03743a_amd64RHSA-2025:1249
discovery/discoveryRed Hat / RHEL
Fixed in:server-rhel9@sha256:b41eeb83e5c7ad9937a90ac6247fe5305a7ff90b39ae6a23765e0f2e22bdca70_arm64RHSA-2025:1249
Fixed in:ui-rhel9@sha256:c5a4ba16f7322e2b89fefa198dc673434f73709a47cf7a85bbccf1ba7a73dd7c_arm64RHSA-2025:1249
Fixed in:server-rhel9@sha256:c6488740a778ca3a1aa3dfdc513d4989ac366728d9f93fe8a57a51c562270771_amd64RHSA-2025:1249
Fixed in:ui-rhel9@sha256:c6f7be7cb58e77958c518fdd68c80a745dcec48fa5397af8c68593254e03743a_amd64RHSA-2025:1249
redisRocky
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.aarch64::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.src::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.ppc64le::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.s390x::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.x86_64::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.x86_64::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.s390x::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.ppc64le::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.aarch64::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.src::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
redisRed Hat / RHEL
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.src::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.aarch64::redis:6RHSA-2025:0595
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.src::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.s390x::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.x86_64::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.aarch64::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.ppc64le::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.x86_64::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.s390x::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.ppc64le::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
redis-debuginfoRocky
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.x86_64::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.ppc64le::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.x86_64::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.s390x::redis:6RHSA-2025:0595
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.s390x::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.ppc64le::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.aarch64::redis:6RHSA-2025:0595
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.aarch64::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
redis-debuginfoRed Hat / RHEL
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.x86_64::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.aarch64::redis:6RHSA-2025:0595
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.s390x::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.s390x::redis:6RHSA-2025:0595
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.ppc64le::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.x86_64::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.ppc64le::redis:6RHSA-2025:0595
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.aarch64::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
redis-debugsourceRocky
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.ppc64le::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.s390x::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.x86_64::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.x86_64::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.s390x::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.ppc64le::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.aarch64::redis:6RHSA-2025:0595
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.aarch64::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
redis-debugsourceRed Hat / RHEL
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.ppc64le::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.aarch64::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.x86_64::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.s390x::redis:6RHSA-2025:0595
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.s390x::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.x86_64::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.ppc64le::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.aarch64::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
redis-develRocky
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.ppc64le::redis:6RHSA-2025:0595
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.aarch64::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.ppc64le::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.s390x::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.x86_64::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.aarch64::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.s390x::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.x86_64::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
redis-develRed Hat / RHEL
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.aarch64::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.ppc64le::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.s390x::redis:7RHSA-2024:10869
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.x86_64::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.aarch64::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.ppc64le::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.s390x::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.x86_64::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
redis-docRocky
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.noarch::redis:6RHSA-2025:0595
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.noarch::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
redis-docRed Hat / RHEL
Fixed in:0:7.2.6-1.module+el9.5.0+22422+63e067d8.noarch::redis:7RHSA-2024:10869
Fixed in:0:6.2.17-1.module+el8.10.0+22680+748527fd.noarch::redis:6RHSA-2025:0595
Fixed in:0:6.2.17-1.el9_5RHSA-2025:0693
redisUbuntu
Fixed in:2:2.8.4-2ubuntu0.2+esm4USN-7321-1
Fixed in:2:3.0.6-1ubuntu0.4+esm3USN-7321-1
Fixed in:5:4.0.9-1ubuntu0.2+esm5USN-7321-1
Fixed in:5:5.0.7-2ubuntu0.1+esm3USN-7321-1
Fixed in:5:6.0.16-1ubuntu1+esm2USN-7321-1
Fixed in:5:7.0.15-1ubuntu0.24.04.1USN-7321-1
redis-serverUbuntu
Fixed in:2:2.8.4-2ubuntu0.2+esm4USN-7321-1
Fixed in:2:3.0.6-1ubuntu0.4+esm3USN-7321-1
Fixed in:5:4.0.9-1ubuntu0.2+esm5USN-7321-1
Fixed in:5:5.0.7-2ubuntu0.1+esm3USN-7321-1
Fixed in:5:6.0.16-1ubuntu1+esm2USN-7321-1
Fixed in:5:7.0.15-1ubuntu0.24.04.1USN-7321-1
redis-toolsUbuntu
Fixed in:2:2.8.4-2ubuntu0.2+esm4USN-7321-1
Fixed in:2:3.0.6-1ubuntu0.4+esm3USN-7321-1
Fixed in:5:4.0.9-1ubuntu0.2+esm5USN-7321-1
Fixed in:5:5.0.7-2ubuntu0.1+esm3USN-7321-1
Fixed in:5:6.0.16-1ubuntu1+esm2USN-7321-1
Fixed in:5:7.0.15-1ubuntu0.24.04.1USN-7321-1
Redis on WindowsWindows application
Affected:7.2.0 7.2.6Fixed in:7.2.6MSOpenTech
Affected:2.2.5 6.2.16Fixed in:6.2.16MSOpenTech

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

1.01%probability of exploitation in 30 days
59thpercentile

Moderate risk: more likely to be exploited than 59% of all known CVEs.

References

Vendor Advisory1
Other references1

Related Vulnerabilities

Other CWE-674 vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2021-45105Medium5.9100%-Fix
CVE-2024-25111High8.665%-Fix
CVE-2023-50269High8.658%-Fix
CVE-2021-42697High7.536%-Fix
CVE-2018-0739Medium6.519%-Fix
CVE-2007-1285High7.518%-Fix
Embed a live status badge for CVE-2024-31228
CVE-2024-31228 severity badge

Markdown

[![CVE-2024-31228](https://tridentstack.com/cve/badge/CVE-2024-31228.svg)](https://tridentstack.com/cve/CVE-2024-31228)

HTML

<a href="https://tridentstack.com/cve/CVE-2024-31228"><img src="https://tridentstack.com/cve/badge/CVE-2024-31228.svg" alt="CVE-2024-31228"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2025-11-03.