#VU102383 Use-after-free in Redis - CVE-2024-46981


| Updated: 2025-03-21

Vulnerability identifier: #VU102383

Vulnerability risk: Medium

CVSSv4.0: 6.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Green]

CVE-ID: CVE-2024-46981

CWE-ID: CWE-416

Exploitation vector: Network

Exploit availability: Yes

Vulnerable software:
Redis
Server applications / Database software

Vendor: Redis Labs

Description

The vulnerability allows a remote user to compromise vulnerable system.

The vulnerability exists due to a use-after-free error when handling Lua script commands. A remote user can pass a specially crafted Lua script to the application and execute arbitrary code on the system..

Successful exploitation of the vulnerability may allow an attacker to compromise vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Redis: 6.0.0 - 6.0.20, 6.2.0 - 6.2.16, 7.0.0 - 7.0.15, 7.2.0 - 7.2.6, 7.4.0 - 7.4.1


External links
https://github.com/redis/redis/security/advisories/GHSA-39h2-x6c4-6w4c


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote authenticated user via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability