#VU52829 Integer overflow in Redis


Published: 2021-05-04

Vulnerability identifier: #VU52829

Vulnerability risk: High

CVSSv3.1: 8.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2021-29478

CWE-ID: CWE-190

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Redis
Server applications / Database software

Vendor: Redis Labs

Description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow in COPY command for large intsets. A remote attacker can pass specially crafted data to the application, trigger integer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system for Redis starting with 6.2. Vulnerability exploitation in older versions results in a corrupted RDB or DUMP payload.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Redis: 6.2.0 - 6.2.2, 6.0.0 - 6.0.12, 5.0.0 - 5.0.12, 4.0.0 - 4.0.14, 3.2.0 - 3.2.13, 3.0.0 - 3.0.7, 2.8.0 - 2.8.24, 2.6.0 - 2.6.17


External links
http://github.com/redis/redis/releases/tag/6.0.13
http://github.com/redis/redis/releases/tag/6.2.3


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability