We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-46981

Redis' Lua library commands may lead to remote code execution



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.

Reserved 2024-09-16 | Published 2025-01-06 | Updated 2025-01-20 | Assigner GitHub_M


HIGH: 7.0CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem types

CWE-416: Use After Free

Product status

>= 7.4.0, < 7.4.2
affected

>= 7.2.0, < 7.2.7
affected

< 6.2.17
affected

References

github.com/.../redis/security/advisories/GHSA-39h2-x6c4-6w4c

github.com/redis/redis/releases/tag/6.2.17

github.com/redis/redis/releases/tag/7.2.7

github.com/redis/redis/releases/tag/7.4.2

cve.org (CVE-2024-46981)

nvd.nist.gov (CVE-2024-46981)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-46981

Support options

Helpdesk Chat, Email, Knowledgebase
Subscribe to our newsletter to learn more about our work.