NULL Pointer Dereference Affecting redis6 package, versions <0:6.2.7-1.amzn2022.0.1


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-AMZN2022-REDIS6-3000573
  • published29 Aug 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 Amazon-Linux:2022 redis6 to version 0:6.2.7-1.amzn2022.0.1 or higher.
This issue was patched in ALAS2022-2022-115.

NVD Description

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