CVE-2024-31449
Lua library commands may lead to stack overflow and RCE in Redis
8.8
HIGH
CVSS 3.1
EPSS 4.5%
Description
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
How to fix CVE-2024-31449
To remediate CVE-2024-31449, upgrade the affected package to a fixed version below.
- —upgrade to 6.2.18-r0 or later
- —upgrade to 7.2.7-r0 or later
Is CVE-2024-31449 being exploited?
Low — EPSS is 4.5%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- >= 2.8.18, < 6.2.18-r0
- from 0, < 7.2.7-r0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |