CVE-2024-31227

Source
https://cve.org/CVERecord?id=CVE-2024-31227
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31227.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-31227
Aliases
Downstream
ALPINE (1)
AZL (1)
BELL (1)
CGA (24)
CLEANSTART (35)
DEBIAN (1)
MGASA (1)
MINI (1)
openSUSE (2)
RHSA (1)
SUSE (3)
UBUNTU (1)
Related
Published
2024-10-07T19:51:04Z
Modified
2026-08-18T16:55:36Z
Severity
  • 4.4 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-20"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31227.json"
}
References

Affected packages

Git / github.com/redis/redis

Affected ranges

Type
GIT
Repo
https://github.com/redis/redis
Events
Database specific
Show details
{
    "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"
        }
    ],
    "source":  [
        "CPE_RANGE",
        "CPE_STRING",
        "REFERENCES"
    ]
}

Affected versions

7.*
7.4.0

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-31227.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "40661584271837133427091237980144603108",
            "length":  4281
        },
        "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":  {
            "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",
        "target":  {
            "file":  "src/acl.c"
        }
    }
]
vanir_signatures_modified
"2026-08-18T16:55:36Z"