NULL Pointer Dereference Affecting redis package, versions <6.2.7-r0


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment

    Threat Intelligence

    EPSS
    0.06% (29th 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 ID SNYK-ALPINE314-REDIS-2805761
  • published 29 Apr 2022
  • disclosed 27 Apr 2022

How to fix?

Upgrade Alpine:3.14 redis to version 6.2.7-r0 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream redis package and not the redis package as distributed by Alpine. See How to fix? for Alpine:3.14 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
Expand this section

NVD

Recommended
5.5 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    None
  • Availability (A)
    High
Expand this section

SUSE

3.3 low
Expand this section

Red Hat

3.3 low