NULL Pointer Dereference Affecting redis6-debugsource package, versions <0:6.2.7-1.amzn2023.0.3


Severity

Recommended
0.0
low
0
10

Based on Amazon 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-AMZN2023-REDIS6DEBUGSOURCE-3345752
  • published7 Mar 2023
  • 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 Amazon-Linux:2023 redis6-debugsource to version 0:6.2.7-1.amzn2023.0.3 or higher.
This issue was patched in ALAS2023-2023-064.

NVD Description

Note: Versions mentioned in the description apply only to the upstream redis6-debugsource package and not the redis6-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 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