Remote code execution in Redis



Published: 2021-07-21
Risk High
Patch available YES
Number of vulnerabilities 1
CVE ID CVE-2021-32761
CWE ID CWE-190
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
Redis
Server applications / Database software

Vendor Salvatore Sanfilippo

Security Advisory

This security advisory describes one high risk vulnerability.

1) Integer overflow

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] [PCI]

CVE-ID: CVE-2021-32761

CWE-ID: CWE-190 - Integer Overflow or Wraparound

Exploit availability: No

Description

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

The vulnerability exists due to integer overflow in BITFIELD that affect
authenticated client connections on 32-bit versions. 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.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

Redis: 5.0, 5.0 RC2, 5.0 RC3, 5.0.0, 5.0.1, 5.0.2, 5.0.3, 5.0.4, 5.0.5, 5.0.6, 5.0.7, 5.0.8, 5.0.9, 5.0.10, 5.0.11, 5.0.12, 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.0.4, 6.0.5, 6.0.6, 6.0.7, 6.0.8, 6.0.9, 6.0.10, 6.0.11, 6.0.12, 6.0.13, 6.0.14, 6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.2.4

CPE External links

https://github.com/redis/redis/releases/tag/5.0.13
https://github.com/redis/redis/releases/tag/6.0.15
https://github.com/redis/redis/releases/tag/6.2.5

Q & A

Can this vulnerability be exploited remotely?

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

How the attacker can exploit this vulnerability?

The attacker would have to send a specially crafted request to the affected application in order to exploit this vulnerability.

Is there known malware, which exploits this vulnerability?

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



###SIDEBAR###