CVE-2024-46981
redis - security update
9.8
CRITICAL
CVSS 3.1
EPSS 80.7%
Description
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.
How to fix CVE-2024-46981
To remediate CVE-2024-46981, upgrade the affected package to a fixed version below.
- —upgrade to 6.2.18-r0 or later
- —upgrade to 7.2.8-r0 or later
- —upgrade to 6.3.4 or later
- —upgrade to 6.2.17 or later
- —upgrade to 8.0.2 or later
- —upgrade to 7.3.2+ds-1 or later
- —upgrade to 5:7.0.15-1~deb12u3 or later
- —upgrade to 5:6.0.16-1+deb11u5 or later
- —upgrade to 5:6.0.16-1+deb11u5 or later
- —upgrade to 8.0.2+dfsg1-1 or later
Is CVE-2024-46981 being exploited?
Likely — EPSS is 80.7%, placing CVE-2024-46981 in the top tier of vulnerabilities by exploitation probability. Prioritise patching.
Affected packages (10)
- from 0, < 6.2.18-r0
- from 0, < 7.2.8-r0
- from 0, < 6.3.4, >= 7.2.0
- from 0, < 6.2.17, >= 7.2.0, < 7.2.8, >= 7.4.0, < 7.4.2
- from 0, < 8.0.2
- from 0, < 7.3.2+ds-1
- from 0, < 5:7.0.15-1~deb12u3
- from 0, < 5:6.0.16-1+deb11u5
- from 0, < 5:6.0.16-1+deb11u5
- from 0, < 8.0.2+dfsg1-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | CRITICAL9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |