{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2022-36021",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Redis is an in-memory database that persists on disk. Authenticated users can use string matching commands (like `SCAN` or `KEYS`) with a specially crafted pattern to trigger a denial-of-service attack on Redis, causing it to hang and consume 100% CPU time. The problem is fixed in Redis versions 6.0.18, 6.2.11, 7.0.9."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-407: Inefficient Algorithmic Complexity",
                        "cweId": "CWE-407"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "redis",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "redis",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "< 6.0.18"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 6.2.0, < 6.2.11"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 7.0.0, < 7.0.9"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/redis/redis/security/advisories/GHSA-jr7j-rfj5-8xqv",
                "refsource": "MISC",
                "name": "https://github.com/redis/redis/security/advisories/GHSA-jr7j-rfj5-8xqv"
            },
            {
                "url": "https://github.com/redis/redis/commit/dcbfcb916ca1a269b3feef86ee86835294758f84",
                "refsource": "MISC",
                "name": "https://github.com/redis/redis/commit/dcbfcb916ca1a269b3feef86ee86835294758f84"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-jr7j-rfj5-8xqv",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "LOW",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 5.5,
                "baseSeverity": "MEDIUM",
                "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:H",
                "version": "3.1"
            }
        ]
    }
}