CVE-2024-31449
Lua library commands may lead to stack overflow and RCE in Redis
8.8
HIGH
CVSS 3.1
EPSS 55.8%
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
- —upgrade to 6.3.4 or later
- —upgrade to 6.2.16 or later
- —upgrade to 7.2.7 or later
- —upgrade to 7.3.1+ds-1 or later
- —no fix listed
- —upgrade to 8.0.1+dfsg1-1 or later
Is CVE-2024-31449 being exploited?
Likely — EPSS is 55.8%, placing CVE-2024-31449 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (8)
- from 0, < 6.2.18-r0
- from 0, < 7.2.7-r0
- >= 2.6.0, < 6.3.4, >= 7.0.0
- >= 2.6.0, < 6.2.16, >= 7.0.0, < 7.2.8, >= 7.3.0, < 7.4.1
- from 0, < 7.2.7, >= 8.0.0, < 8.0.1
- from 0, < 7.3.1+ds-1
- from 0
- from 0, < 8.0.1+dfsg1-1
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 |