{
    "CVE_data_meta": {
        "ASSIGNER": "security-advisories@github.com",
        "ID": "CVE-2022-35951",
        "STATE": "PUBLIC",
        "TITLE": "Redis subject to Integer Overflow leading to Remote Code Execution via Heap Overflow"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "redis",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_value": ">= 7.0.0, < 7.0.5"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "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. Versions 7.0.0 and above, prior to 7.0.5 are vulnerable to an Integer Overflow. Executing an `XAUTOCLAIM` command on a stream key in a specific state, with a specially crafted `COUNT` argument may cause an integer overflow, a subsequent heap overflow, and potentially lead to remote code execution. This has been patched in Redis version 7.0.5. No known workarounds exist."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.0,
            "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"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-190: Integer Overflow or Wraparound"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://github.com/redis/redis/security/advisories/GHSA-5gc4-76rx-22c9",
                "refsource": "CONFIRM",
                "url": "https://github.com/redis/redis/security/advisories/GHSA-5gc4-76rx-22c9"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-de7b3ceca6",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/A7INCOOFPPEAKNDBZU3TIZJPYXBULI2C/"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202209-17",
                "url": "https://security.gentoo.org/glsa/202209-17"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://security.netapp.com/advisory/ntap-20221020-0005/",
                "url": "https://security.netapp.com/advisory/ntap-20221020-0005/"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-5gc4-76rx-22c9",
        "discovery": "UNKNOWN"
    }
}