NULL Pointer Dereference Affecting redis/redis package, versions [,6.2.7)[7.0-rc1,7.0.0)


Severity

Recommended
0.0
low
0
10

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

Threat Intelligence

EPSS
0.06% (31st 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 Learn

Learn about NULL Pointer Dereference vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-REDISREDIS-2806339
  • published1 May 2022
  • disclosed27 Apr 2022
  • creditAviv Yahav, 0xbigshaq

Introduced: 27 Apr 2022

CVE-2022-24736  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade redis/redis to version 6.2.7, 7.0.0 or higher.

Overview

Affected versions of this package are vulnerable to NULL Pointer Dereference via a specially crafted Lua script which will result with a crash of the redis-server process.

Note: An additional workaround to mitigate this problem without patching the redis-server executable, if Lua scripting is not being used, is to block access to SCRIPT LOAD and EVAL commands using ACL rules.

CVSS Scores

version 3.1