{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-24736",
        "STATE": "PUBLIC",
        "TITLE": "A Malformed Lua script can crash Redis"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "redis",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": "< 6.2.7"
                                        },
                                        {
                                            "version_value": "< 7.0.0"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "redis"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Redis is an in-memory database that persists on disk. Prior to versions 6.2.7 and 7.0.0, an attacker attempting to load a specially crafted Lua script can cause NULL pointer dereference which will result with a crash of the redis-server process. The problem is fixed in Redis versions 7.0.0 and 6.2.7. An additional workaround to mitigate this problem without patching the redis-server executable, if Lua scripting is not being used, is to block access to `SCRIPT LOAD` and `EVAL` commands using ACL rules."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "LOW",
            "baseScore": 3.3,
            "baseSeverity": "LOW",
            "confidentialityImpact": "NONE",
            "integrityImpact": "NONE",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L",
            "version": "3.1"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-476: NULL Pointer Dereference"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/redis/redis/pull/10651",
                "refsource": "MISC",
                "url": "https://github.com/redis/redis/pull/10651"
            },
            {
                "name": "https://github.com/redis/redis/releases/tag/6.2.7",
                "refsource": "MISC",
                "url": "https://github.com/redis/redis/releases/tag/6.2.7"
            },
            {
                "name": "https://github.com/redis/redis/releases/tag/7.0.0",
                "refsource": "MISC",
                "url": "https://github.com/redis/redis/releases/tag/7.0.0"
            },
            {
                "name": "https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984",
                "refsource": "CONFIRM",
                "url": "https://github.com/redis/redis/security/advisories/GHSA-3qpw-7686-5984"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-6ed1ce2838",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VPYKSG7LKUJGVM2P72EHXKVRVRWHLORX/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-a0a4c7eb31",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSTPUCAPBRHIFPSCOURR4OYX4E2OISAF/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-44373f6778",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/J4ZK3675DGHVVDOFLJN7WX6YYH27GPMK/"
            },
            {
                "url": "https://www.oracle.com/security-alerts/cpujul2022.html",
                "refsource": "MISC",
                "name": "https://www.oracle.com/security-alerts/cpujul2022.html"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20220715-0003/",
                "url": "https://security.netapp.com/advisory/ntap-20220715-0003/"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202209-17",
                "url": "https://security.gentoo.org/glsa/202209-17"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-3qpw-7686-5984",
        "discovery": "UNKNOWN"
    }
}