Access Restriction Bypass Affecting redis/redis package, versions [,6.0.17)[6.2.0,6.2.9)[7.0.0,7.0.8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-REDISREDIS-3244444
  • published23 Jan 2023
  • disclosed17 Jan 2023
  • creditXion (SeungHyun Lee)

Introduced: 17 Jan 2023

CVE-2022-35977  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade redis/redis to version 6.0.17, 6.2.9, 7.0.8 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. This can be caused by an integer overflow in the Redis SETRANGE and SORT/SORT_RO commands which may result with false OOM panic when attempting to allocate impossible amounts of memory. 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.

CVSS Scores

version 3.1