{"id":"CVE-2023-25155","published":"2023-03-02T03:01:36Z","modified":"2025-03-07T18:30:41Z","title":"Integer Overflow in several Redis commands can lead to denial of service.","vendor":"redis","product":"redis","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00902,"percentile":0.60588,"provenance":"source"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/releases/tag/6.0.18","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/releases/tag/6.2.11","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/releases/tag/7.0.9","tags":["x_refsource_MISC"]}],"priority":{"score":16.0,"factors":[{"name":"EPSS percentile","points":12.12},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"redis","affectedVersions":[{"vendor":"redis","product":"redis","versions":["< 6.0.18",">= 7.0.0, < 7.0.9",">= 6.2.0, < 6.2.11"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-07T18:30:29.509859Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-29130","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-redis-cve-2021-32627","parents":[{"from":"CVE-2021-32687","to":"CVE-2023-25155","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/t_set.c"],"commits":["https://github.com/redis/redis/commit/a30d367a71b7017581cf1ca104242a3c644dec0f","https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619"],"basis":"rarely changed file"}]},{"from":"CVE-2023-22458","to":"CVE-2023-25155","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/t_hash.c","src/t_zset.c"],"commits":["https://github.com/redis/redis/commit/16f408b1a0121cacd44cbf8aee275d69dc627f02","https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619"],"basis":"shared function","functions":["hrandfieldCommand","zrandmemberCommand"]},{"kind":"similar","provenance":"machine","score":0.49,"basis":"same product + CWE + description similarity"}]}]}}