CVE-2024-31227: Denial-of-service due to malformed ACL selectors in Redis

Published Oct 7, 2024
·
Updated

Denial-of-service due to malformed ACL selectors in Redis

Other sources

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.

— MITRE

Affected Software

32 affected componentsFixes available
Redis Redis<7.2.6, <7.4.1
Redis Redis>=7.0.0<7.2.6
Redis Redis=7.4.0
Microsoft azl3 valkey 8.0.1-1
Microsoft azl3 valkey 8.0.0-2
alpine/redict<7.3.1-r0
7.3.1-r0
alpine/redict<7.3.1-r0
7.3.1-r0
alpine/redict<7.3.1-r0
7.3.1-r0
alpine/redict<7.3.1-r0
7.3.1-r0
alpine/redict<7.3.1-r0
7.3.1-r0
alpine/redis>=7.0.0<7.0.15-r1
7.0.15-r1
alpine/redis>=7.0.0<7.0.15-r1
7.0.15-r1
alpine/redis>=7.0.0<7.2.4-r1
7.2.4-r1
alpine/redis>=7.0.0<7.2.5-r1
7.2.5-r1
alpine/redis>=7.0.0<7.2.5-r1
7.2.5-r1
alpine/redis>=7.0.0<7.2.5-r1
7.2.5-r1
alpine/redis>=7.0.0<7.2.5-r1
7.2.5-r1
alpine/redis>=7.0.0<7.2.5-r1
7.2.5-r1
alpine/valkey<7.2.7-r0
7.2.7-r0
alpine/valkey<7.2.7-r0
7.2.7-r0
alpine/valkey<7.2.7-r0
7.2.7-r0
alpine/valkey<7.2.7-r0
7.2.7-r0
alpine/valkey<7.2.7-r0
7.2.7-r0
debian/redis<5:7.0.15-1~deb12u2
5:7.0.15-1~deb12u2
debian/redis<5:7.0.15-2
5:7.0.15-2
debian/redis<5:7.0.15-2
5:7.0.15-2
debian/valkey<8.0.1+dfsg1-1
8.0.1+dfsg1-1
debian/valkey<8.0.1+dfsg1-1
8.0.1+dfsg1-1
debian/redis
5:7.0.15-1~deb12u25:7.0.15-2
debian/valkey
8.0.1+dfsg1-1
debian/redict
7.3.1+ds-1
ubuntu/redis*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade alpine/redict to a version that resolves this vulnerability.

    Fixed in 7.3.1-r0
  2. Upgrade

    Upgrade alpine/redis to a version that resolves this vulnerability.

    Fixed in 7.0.15-r1
  3. Upgrade

    Upgrade alpine/redis to a version that resolves this vulnerability.

    Fixed in 7.2.4-r1
  4. Upgrade

    Upgrade alpine/redis to a version that resolves this vulnerability.

    Fixed in 7.2.5-r1
  5. Upgrade

    Upgrade alpine/valkey to a version that resolves this vulnerability.

    Fixed in 7.2.7-r0
  6. Upgrade

    Upgrade debian/redis to a version that resolves this vulnerability.

    Fixed in 5:7.0.15-1~deb12u2
  7. Upgrade

    Upgrade debian/redis to a version that resolves this vulnerability.

    Fixed in 5:7.0.15-2
  8. Upgrade

    Upgrade debian/valkey to a version that resolves this vulnerability.

    Fixed in 8.0.1+dfsg1-1
  9. Upgrade

    Upgrade debian/redis to a version that resolves this vulnerability.

    Fixed in 5:7.0.15-1~deb12u2Fixed in 5:7.0.15-2
  10. Upgrade

    Upgrade debian/redict to a version that resolves this vulnerability.

    Fixed in 7.3.1+ds-1
  11. Upgrade

    Upgrade Redis to a version that resolves this vulnerability.

    Fixed in 7.2.6
  12. Upgrade

    Upgrade Redis to a version that resolves this vulnerability.

    Fixed in 7.4.1

Event History

Oct 7, 2024
CVE Published
via MITRE·07:51 PM
Data Sourced
via MITRE·07:51 PM
DescriptionSeverityWeakness
Data Sourced
via Red Hat·08:01 PM
DescriptionSeverityAffected Software
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software
Data Sourced
via NVD·08:15 PM
DescriptionSeverityWeakness
Nov 14, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:00 AM
Affected Software
Aug 26, 2025
Data Sourced
via NVD·05:44 PM
RemedyAffected Software
Nov 3, 2026
Updated
via OSV·06:30 AM
Affected Software
Nov 12, 2026
Updated
via OSV·04:00 PM
Affected Software
Nov 14, 2026
Updated
via OSV·05:00 PM
Affected Software
Nov 24, 2026
Updated
via OSV·05:00 AM
Affected Software
Nov 25, 2026
Withdrawn
via OSV·05:13 PM

Frequently Asked Questions

1

What is the severity of CVE-2024-31227?

CVE-2024-31227 has been classified with a medium severity due to its potential to cause denial of service.

2

How do I fix CVE-2024-31227?

To fix CVE-2024-31227, upgrade your Redis installation to version 7.2.6 or later.

3

Which versions of Redis are affected by CVE-2024-31227?

CVE-2024-31227 affects Redis versions prior to 7.2.6 and versions before 7.4.1.

4

What impact does CVE-2024-31227 have on my system?

CVE-2024-31227 can lead to a server panic and result in a denial of service if exploited.

5

Is authentication required to exploit CVE-2024-31227?

Yes, exploitation of CVE-2024-31227 requires authentication with sufficient privileges.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203