{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2022-24834",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2022-02-10T16:41:34.931Z",
        "datePublished": "2023-07-13T14:35:41.181Z",
        "dateUpdated": "2024-08-22T12:41:07.308Z"
    },
    "containers": {
        "cna": {
            "title": "Heap overflow issue with the Lua cjson library used by Redis",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-122",
                            "lang": "en",
                            "description": "CWE-122: Heap-based Buffer Overflow",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-680",
                            "lang": "en",
                            "description": "CWE-680: Integer Overflow to Buffer Overflow",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "LOCAL",
                        "availabilityImpact": "HIGH",
                        "baseScore": 7,
                        "baseSeverity": "HIGH",
                        "confidentialityImpact": "HIGH",
                        "integrityImpact": "HIGH",
                        "privilegesRequired": "LOW",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838"
                },
                {
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/"
                },
                {
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/"
                },
                {
                    "url": "https://security.netapp.com/advisory/ntap-20230814-0006/"
                }
            ],
            "affected": [
                {
                    "vendor": "redis",
                    "product": "redis",
                    "versions": [
                        {
                            "version": ">= 7.0.0, < 7.0.12",
                            "status": "affected"
                        },
                        {
                            "version": ">= 6.2.0, < 6.2.13",
                            "status": "affected"
                        },
                        {
                            "version": ">= 6.0.0, < 6.0.20",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-07-13T14:35:41.181Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20."
                }
            ],
            "source": {
                "advisory": "GHSA-p8x2-9v9q-c838",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T04:20:50.549Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/redis/redis/security/advisories/GHSA-p8x2-9v9q-c838"
                    },
                    {
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://security.netapp.com/advisory/ntap-20230814-0006/",
                        "tags": [
                            "x_transferred"
                        ]
                    }
                ]
            },
            {
                "affected": [
                    {
                        "vendor": "redis",
                        "product": "redis",
                        "cpes": [
                            "cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*"
                        ],
                        "defaultStatus": "unknown",
                        "versions": [
                            {
                                "version": "7.0.0",
                                "status": "affected",
                                "lessThan": "7.0.12",
                                "versionType": "custom"
                            },
                            {
                                "version": "6.2.0",
                                "status": "affected",
                                "lessThan": "6.2.13",
                                "versionType": "custom"
                            },
                            {
                                "version": "6.0.0",
                                "status": "affected",
                                "lessThan": "6.0.20",
                                "versionType": "custom"
                            }
                        ]
                    }
                ],
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2024-08-22T03:55:18.658874Z",
                                "id": "CVE-2022-24834",
                                "options": [
                                    {
                                        "Exploitation": "poc"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "total"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2024-08-22T12:41:07.308Z"
                }
            }
        ]
    }
}