Bug 2163133 (CVE-2022-35977) - CVE-2022-35977 redis: Integer overflow in the Redis SETRANGE and SORT/SORT_RO commands may result with false OOM panic
Summary: CVE-2022-35977 redis: Integer overflow in the Redis SETRANGE and SORT/SORT_RO...
Keywords:
Status: NEW
Alias: CVE-2022-35977
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2163189 2169703 2163188 2163190 2163191 2163192 2163193 2163194 2163195 2163196 2163380 2163381
Blocks: 2161476
TreeView+ depends on / blocked
 
Reported: 2023-01-23 07:38 UTC by Sandipan Roy
Modified: 2023-07-21 22:26 UTC (History)
57 users (show)

Fixed In Version: redis 7.0.8, redis 6.2.9, redis 6.0.17
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Redis, an in-memory database that persists on disk. This flaw allows authenticated users to issue specially crafted `SETRANGE` and `SORT(_RO)` commands to trigger an integer overflow, resulting in Redis attempting to allocate impossible amounts of memory and abort with an out-of-memory (OOM) panic.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Sandipan Roy 2023-01-23 07:38:12 UTC
Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted `SETRANGE` and `SORT(_RO)` commands can trigger an integer overflow, resulting with Redis attempting to allocate impossible amounts of memory and abort with an out-of-memory (OOM) panic. The problem is fixed in Redis versions 7.0.8, 6.2.9 and 6.0.17. Users are advised to upgrade. There are no known workarounds for this vulnerability.

https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j
https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7
https://github.com/redis/redis/releases/tag/6.0.17
https://github.com/redis/redis/releases/tag/6.2.9
https://github.com/redis/redis/releases/tag/7.0.8

Comment 1 Sandipan Roy 2023-01-23 07:45:04 UTC
Created pymodbus tracking bugs for this issue:

Affects: fedora-37 [bug 2163192]


Created python-rq tracking bugs for this issue:

Affects: epel-8 [bug 2163190]


Created redis tracking bugs for this issue:

Affects: epel-7 [bug 2163189]
Affects: fedora-36 [bug 2163191]
Affects: fedora-37 [bug 2163193]


Note You need to log in before you can comment on or make changes to this bug.