Use After Free Affecting redis-doc package, versions <0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77


Severity

Recommended
high

Based on Oracle Linux security rating.

Threat Intelligence

EPSS
0.05% (18th 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 Use After Free vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ORACLE8-REDISDOC-8661519
  • published25 Jan 2025
  • disclosed6 Jan 2025

Introduced: 6 Jan 2025

NewCVE-2024-46981  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Oracle:8 redis-doc to version 0:6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 or higher.
This issue was patched in ELSA-2025-0595.

NVD Description

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

Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

CVSS Scores

version 3.1