Integer Overflow or Wraparound Affecting redis/redis package, versions [,6.0.18)[6.2-rc1,6.2.11)[7.0-rc1,7.0.9)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.19% (58th 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-3336159
  • published1 Mar 2023
  • disclosed28 Feb 2023
  • creditUnknown

Introduced: 28 Feb 2023

CVE-2023-25155  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade redis/redis to version 6.0.18, 6.2.11, 7.0.9 or higher.

Overview

Affected versions of this package are vulnerable to Integer Overflow or Wraparound due to a missing check for large negative long values in the SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD commands. Attackers can crash the server process by passing in such a value.

CVSS Scores

version 3.1