NULL Pointer Dereference Affecting redis:6/redis-doc package, versions <0:6.2.7-1.module+el8.7.0+15197+cc495aeb


Severity

Recommended
0.0
low
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
1.5% (71st 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-RHEL8-REDIS-4333296
  • published30 Apr 2022
  • disclosed27 Apr 2022

Introduced: 27 Apr 2022

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

How to fix?

Upgrade RHEL:8 redis:6/redis-doc to version 0:6.2.7-1.module+el8.7.0+15197+cc495aeb or higher.
This issue was patched in RHSA-2022:7541.

NVD Description

Note: Versions mentioned in the description apply only to the upstream redis:6/redis-doc package and not the redis:6/redis-doc package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

Redis is an in-memory database that persists on disk. Prior to versions 6.2.7 and 7.0.0, an attacker attempting to load a specially crafted Lua script can cause NULL pointer dereference which will result with a crash of the redis-server process. The problem is fixed in Redis versions 7.0.0 and 6.2.7. 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 Base Scores

version 3.1