CVE-2022-35977

MEDIUMCVSS 5.5/10EPSS 11.79%

Last modified

CVE-2022-35977 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 11.79% chance of exploitation in the next 30 days.

Description

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.

Metrics

CVSS 3.1
5.5/10

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

EPSS Probability
11.79%

95.5th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
RedisRedis>= 6.0.0, < 6.0.17
RedisRedis>= 6.2.0, < 6.2.9
RedisRedis>= 7.0.0, < 7.0.8

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2022-35977?
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.
How severe is CVE-2022-35977?
CVE-2022-35977 has a CVSS score of 5.5/10 (MEDIUM severity). The EPSS model estimates a 11.79% probability of exploitation in the next 30 days.
How do I fix CVE-2022-35977?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2022-35977?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST