{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-25155",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-02-03T16:59:18.242Z",
        "datePublished": "2023-03-02T03:01:36.879Z",
        "dateUpdated": "2024-08-02T11:18:36.023Z"
    },
    "containers": {
        "cna": {
            "title": "Integer Overflow in several Redis commands can lead to denial of service.",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-190",
                            "lang": "en",
                            "description": "CWE-190: Integer Overflow or Wraparound",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "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"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83"
                },
                {
                    "name": "https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619"
                },
                {
                    "name": "https://github.com/redis/redis/releases/tag/6.0.18",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/redis/redis/releases/tag/6.0.18"
                },
                {
                    "name": "https://github.com/redis/redis/releases/tag/6.2.11",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/redis/redis/releases/tag/6.2.11"
                },
                {
                    "name": "https://github.com/redis/redis/releases/tag/7.0.9",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/redis/redis/releases/tag/7.0.9"
                }
            ],
            "affected": [
                {
                    "vendor": "redis",
                    "product": "redis",
                    "versions": [
                        {
                            "version": "< 6.0.18",
                            "status": "affected"
                        },
                        {
                            "version": ">= 7.0.0, < 7.0.9",
                            "status": "affected"
                        },
                        {
                            "version": ">= 6.2.0, < 6.2.11",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-03-02T03:01:36.879Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "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."
                }
            ],
            "source": {
                "advisory": "GHSA-x2r7-j9vw-3w83",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T11:18:36.023Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83"
                    },
                    {
                        "name": "https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619"
                    },
                    {
                        "name": "https://github.com/redis/redis/releases/tag/6.0.18",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/redis/redis/releases/tag/6.0.18"
                    },
                    {
                        "name": "https://github.com/redis/redis/releases/tag/6.2.11",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/redis/redis/releases/tag/6.2.11"
                    },
                    {
                        "name": "https://github.com/redis/redis/releases/tag/7.0.9",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/redis/redis/releases/tag/7.0.9"
                    }
                ]
            }
        ]
    }
}