{"id":"CVE-2024-31227","summary":"Denial-of-service due to malformed ACL selectors in Redis","details":"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.","aliases":["BIT-keydb-2024-31227","BIT-redis-2024-31227","BIT-valkey-2024-31227","GHSA-38p4-26x2-vqhh"],"modified":"2026-08-18T16:55:36.270354Z","published":"2024-10-07T19:51:04.520Z","related":["ALSA-2024:10869","SUSE-SU-2024:3535-1","SUSE-SU-2024:3537-1","SUSE-SU-2024:3549-1","openSUSE-SU-2024:14412-1","openSUSE-SU-2025:15293-1"],"database_specific":{"cwe_ids":["CWE-20"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31227.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31227.json"},{"type":"ADVISORY","url":"https://github.com/redis/redis/security/advisories/GHSA-38p4-26x2-vqhh"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-31227"},{"type":"FIX","url":"https://github.com/redis/redis/commit/b351d5a3210e61cc3b22ba38a723d6da8f3c298a"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/redis/redis","events":[{"introduced":"d375595d5e3ae2e5c29e6c00a2dc3d60578fd9fc"},{"fixed":"ae6a2aa95cd094b032e7a69b8b59f64dd1ed085f"},{"introduced":"c9d29f6a918c335bc1778d9f68e521c1bbb36a0f"},{"fixed":"b351d5a3210e61cc3b22ba38a723d6da8f3c298a"}],"database_specific":{"source":["CPE_RANGE","CPE_STRING","REFERENCES"],"cpe":["cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*","cpe:2.3:a:redis:redis:7.4.0:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.0.0"},{"fixed":"7.2.6"},{"introduced":"7.4.0"},{"last_affected":"7.4.0"}]}}],"versions":["7.4.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31227.json","vanir_signatures_modified":"2026-08-18T16:55:36Z","vanir_signatures":[{"id":"CVE-2024-31227-54f6e5e1","signature_type":"Function","signature_version":"v1","source":"https://github.com/redis/redis/commit/b351d5a3210e61cc3b22ba38a723d6da8f3c298a","target":{"file":"src/acl.c","function":"ACLSetSelector"},"deprecated":false,"digest":{"function_hash":"40661584271837133427091237980144603108","length":4281}},{"target":{"file":"src/acl.c"},"deprecated":false,"digest":{"line_hashes":["122073505150330779881925889376104048481","20546548576662628414487098384772441091","12194845935100251552104546068211565647","96821037693610244447265708658612769828"],"threshold":0.9},"id":"CVE-2024-31227-f772918c","signature_type":"Line","signature_version":"v1","source":"https://github.com/redis/redis/commit/b351d5a3210e61cc3b22ba38a723d6da8f3c298a"}]}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H"}]}