Stack-based Buffer Overflow Affecting antirez/redis package, versions [2.6.0,6.2.16)[7.0.0,7.2.6)[7.3.0,7.4.1)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.04% (12th 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-UNMANAGED-ANTIREZREDIS-8165052
  • published8 Oct 2024
  • disclosed7 Oct 2024
  • creditankki-zsyang

Introduced: 7 Oct 2024

CVE-2024-31449  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade antirez/redis to version 6.2.16, 7.2.6, 7.4.1 or higher.

Overview

Affected versions of this package are vulnerable to Stack-based Buffer Overflow through the use of a specially crafted Lua script. An attacker can execute arbitrary code on the system by exploiting a stack buffer overflow in the bit library.

Note:

This is only exploitable on instances of Redis with Lua scripting.

CVSS Scores

version 4.0
version 3.1