Use After Free Affecting antirez/redis package, versions [,6.2.17)[7.0.0,7.2.7)[7.4.0,7.4.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

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-UNMANAGED-ANTIREZREDIS-8610210
  • published9 Jan 2025
  • disclosed6 Jan 2025
  • creditp33zy

Introduced: 6 Jan 2025

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

How to fix?

Upgrade antirez/redis to version 6.2.17, 7.2.7, 7.4.2 or higher.

Overview

Affected versions of this package are vulnerable to Use After Free. An attacker can execute arbitrary code by using a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution.

CVSS Scores

version 4.0
version 3.1