Heap-based Buffer Overflow Affecting redis-devel package, versions <0:6.2.17-1.module+el8.10.0+1923+5b85c6a7


Severity

Recommended
0.0
high
0
10

Based on Rocky Linux security rating.

Threat Intelligence

Exploit Maturity
Not Defined
EPSS
0.2% (59th 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-ROCKY8-REDISDEVEL-8721582
  • published14 Feb 2025
  • disclosed13 Jul 2023

Introduced: 13 Jul 2023

CVE-2022-24834  (opens in a new tab)
CWE-122  (opens in a new tab)
CWE-680  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:8 redis-devel to version 0:6.2.17-1.module+el8.10.0+1923+5b85c6a7 or higher.
This issue was patched in RLSA-2025:0595.

NVD Description

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

Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20.

CVSS Scores

version 3.1