cve.bz

CVE-2024-31227 redis redis: Improper Input Validation

4.4 mediumEPSS 0.4%Fix available

Medium (4.4) in redis redis. EPSS 0.4% estimated probability of exploitation activity in the next 30 days.

On this page
Redis is an open source, in-memory database that persists on disk. An authenticated with sufficient privileges may create a malformed ACL selector which, when accessed, triggers a server panic and subsequent denial of service. The problem exists in Redis 7 prior to versions 7.2.6 and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Severity

CVSS 3.1

4.4 medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 35th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-10-07. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-31227 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-31227?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-31227?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-31227 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redis:redisfrom 7.0.0 before 7.2.6
redis:redis7.4.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12redis5:7.0.15-1~deb12u2DEBIAN-CVE-2024-31227
Debian13, 14redis5:7.0.15-2DEBIAN-CVE-2024-31227
Debian13, 14valkey8.0.1+dfsg1-1DEBIAN-CVE-2024-31227
Debian14redict7.3.1+ds-1DEBIAN-CVE-2024-31227
Ubuntu24.04:LTSredisno fix listedUBUNTU-CVE-2024-31227
Red Hatenterprise_linux:9::appstreamredis, redis-doc, redis-devel and 2 more0:7.2.6-1.module+el9.5.0+22422+63e067d8RHSA-2024:10869
SUSELinux Enterprise Module for Server Applications 15 SP5redis77.0.8-150500.3.12.1SUSE-SU-2024:3549-1
SUSELinux Enterprise Module for Server Applications 15 SP6redis7.2.4-150600.3.3.1SUSE-SU-2024:3535-1
SUSELinux Enterprise Module for Server Applications 15 SP6redis77.0.8-150600.8.3.1SUSE-SU-2024:3537-1
openSUSELeap 15.5redis77.0.8-150500.3.12.1SUSE-SU-2024:3549-1
openSUSELeap 15.6redis7.2.4-150600.3.3.1SUSE-SU-2024:3535-1
openSUSELeap 15.6redis77.0.8-150600.8.3.1SUSE-SU-2024:3537-1
openSUSETumbleweedredis8.0.2-1.1openSUSE-SU-2025:15293-1
openSUSETumbleweedvalkey8.0.1-1.1openSUSE-SU-2024:14412-1
AlmaLinux9redis, redis-doc, redis-devel7.2.6-1.module_el9.5.0+130+36ae7635ALSA-2024:10869
Alpinev3.17, v3.18redis7.0.15-r1ALPINE-CVE-2024-31227
Alpinev3.19redis7.2.4-r1ALPINE-CVE-2024-31227
Alpinev3.20, v3.21, v3.22 and 2 moreredict7.3.1-r0ALPINE-CVE-2024-31227
Alpinev3.20, v3.21, v3.22 and 2 moreredis7.2.5-r1ALPINE-CVE-2024-31227
Alpinev3.20, v3.21, v3.22 and 2 morevalkey7.2.7-r0ALPINE-CVE-2024-31227
Azure Linux3valkey8.0.1-1AZL-52008
Alpaquita23redis7.0.15-r1BELL-CVE-2024-31227
Alpaquitastreamredis7.2.5-r1BELL-CVE-2024-31227

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Moderate.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9redis:7-9050020241104103753.9Fixed 2024-12-05RHSA-2024:10869
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel7Will not fix
Red Hat Discovery 1discovery-server-containerNot affected
Red Hat Enterprise Linux 8redis:6/redisWill not fix
Red Hat Enterprise Linux 9redisWill not fix
Red Hat Quay 3quay/quay-rhel8Not affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-31227.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON