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.0-2
Microsoft azl3 valkey 8.0.1-1
debian/redict<7.3.1+ds-1
7.3.1+ds-1
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/redict
7.3.6+ds-3
debian/redis
5:7.0.15-1~deb12u75:7.0.15-1~deb12u105:8.0.2-3+deb13u25:8.0.2-3+deb13u35:8.0.6-3
debian/valkey
8.1.1+dfsg1-3+deb13u28.1.1+dfsg1-3+deb13u39.1.2-1
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

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

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

    Fixed in 7.3.1+ds-1
  2. Upgrade

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

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

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

    Fixed in 5:7.0.15-2
  4. Upgrade

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

    Fixed in 8.0.1+dfsg1-1
  5. Upgrade

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

    Fixed in 7.3.6+ds-3
  6. Upgrade

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

    Fixed in 5:7.0.15-1~deb12u7Fixed in 5:7.0.15-1~deb12u10Fixed in 5:8.0.2-3+deb13u2Fixed in 5:8.0.2-3+deb13u3Fixed in 5:8.0.6-3
  7. Upgrade

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

    Fixed in 8.1.1+dfsg1-3+deb13u2Fixed in 8.1.1+dfsg1-3+deb13u3Fixed in 9.1.2-1
  8. Upgrade

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

    Fixed in 7.3.1-r0
  9. Upgrade

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

    Fixed in 7.0.15-r1
  10. Upgrade

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

    Fixed in 7.2.4-r1
  11. Upgrade

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

    Fixed in 7.2.5-r1
  12. Upgrade

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

    Fixed in 7.2.7-r0
  13. Upgrade

    Upgrade Redis to a version that resolves this vulnerability.

    Fixed in 7.2.6
  14. 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 NVD·08:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
Data Sourced
via OSV·08:15 PM
DescriptionSeverityAffected Software
Nov 14, 2024
Data Sourced
via Microsoft·08:00 AM
DescriptionSeverityWeaknessAffected Software

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