NULL Pointer Dereference Affecting redis:6/redis-devel package, versions <0:6.2.7-1.module_el8.7.0+3288+a82c1b48


Severity

Recommended
low

Based on AlmaLinux security rating.

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-ALMALINUX8-REDIS-5624360
  • published28 May 2023
  • disclosed15 Nov 2022

Introduced: 15 Nov 2022

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

How to fix?

Upgrade AlmaLinux:8 redis:6/redis-devel to version 0:6.2.7-1.module_el8.7.0+3288+a82c1b48 or higher.
This issue was patched in ALSA-2022:7541.

NVD Description

Note: Versions mentioned in the description apply only to the upstream redis:6/redis-devel package and not the redis:6/redis-devel package as distributed by AlmaLinux. See How to fix? for AlmaLinux: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 Scores

version 3.1