{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2023-25155",
        "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 issuing specially crafted `SRANDMEMBER`, `ZRANDMEMBER`, and `HRANDFIELD` commands can trigger an integer overflow, resulting in a runtime assertion and termination of the Redis server process. This problem affects all Redis versions. Patches were released in Redis version(s) 6.0.18, 6.2.11 and 7.0.9."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-190: Integer Overflow or Wraparound",
                        "cweId": "CWE-190"
                    }
                ]
            }
        ]
    },
    "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": ">= 7.0.0, < 7.0.9"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 6.2.0, < 6.2.11"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83",
                "refsource": "MISC",
                "name": "https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83"
            },
            {
                "url": "https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619",
                "refsource": "MISC",
                "name": "https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619"
            },
            {
                "url": "https://github.com/redis/redis/releases/tag/6.0.18",
                "refsource": "MISC",
                "name": "https://github.com/redis/redis/releases/tag/6.0.18"
            },
            {
                "url": "https://github.com/redis/redis/releases/tag/6.2.11",
                "refsource": "MISC",
                "name": "https://github.com/redis/redis/releases/tag/6.2.11"
            },
            {
                "url": "https://github.com/redis/redis/releases/tag/7.0.9",
                "refsource": "MISC",
                "name": "https://github.com/redis/redis/releases/tag/7.0.9"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-x2r7-j9vw-3w83",
        "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"
            }
        ]
    }
}