CVE-2024-31227: Denial-of-service due to malformed ACL selectors in Redis
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
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/redictto a version that resolves this vulnerability.Fixed in 7.3.1+ds-1 - Upgrade
Upgrade
debian/redisto a version that resolves this vulnerability.Fixed in 5:7.0.15-1~deb12u2 - Upgrade
Upgrade
debian/redisto a version that resolves this vulnerability.Fixed in 5:7.0.15-2 - Upgrade
Upgrade
debian/valkeyto a version that resolves this vulnerability.Fixed in 8.0.1+dfsg1-1 - Upgrade
Upgrade
debian/redictto a version that resolves this vulnerability.Fixed in 7.3.6+ds-3 - Upgrade
Upgrade
debian/redisto 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 - Upgrade
Upgrade
debian/valkeyto 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 - Upgrade
Upgrade
alpine/redictto a version that resolves this vulnerability.Fixed in 7.3.1-r0 - Upgrade
Upgrade
alpine/redisto a version that resolves this vulnerability.Fixed in 7.0.15-r1 - Upgrade
Upgrade
alpine/redisto a version that resolves this vulnerability.Fixed in 7.2.4-r1 - Upgrade
Upgrade
alpine/redisto a version that resolves this vulnerability.Fixed in 7.2.5-r1 - Upgrade
Upgrade
alpine/valkeyto a version that resolves this vulnerability.Fixed in 7.2.7-r0 - Upgrade
Upgrade
Redisto a version that resolves this vulnerability.Fixed in 7.2.6 - Upgrade
Upgrade
Redisto a version that resolves this vulnerability.Fixed in 7.4.1
Event History
Frequently Asked Questions
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.
How do I fix CVE-2024-31227?
To fix CVE-2024-31227, upgrade your Redis installation to version 7.2.6 or later.
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.
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.
Is authentication required to exploit CVE-2024-31227?
Yes, exploitation of CVE-2024-31227 requires authentication with sufficient privileges.