CVE-2021-32627: Redis - Integer Overflow
- Cve: CVE-2021-32627
- Name: Redis - Integer Overflow
- Description: Redis is an open source, in-memory database that persists on disk. In affected versions an integer overflow bug in Redis can be exploited to corrupt the heap and potentially result with remote code execution. The vulnerability involves changing the default proto-max-bulk-len and client-query-buffer-limit configuration parameters to very large values and constructing specially crafted very large stream elements. The problem is fixed in Redis 6.2.6, 6.0.16 and 5.0.14. For users unable to upgrade an additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the proto-max-bulk-len configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.
- Impact: Attackers can exploit the overflow to corrupt heap and possibly execute arbitrary code remotely.
- Remediation: Upgrade to Redis 6.2.6, 6.0.16, or 5.0.14. Alternatively, restrict unprivileged users from modifying configuration parameters using ACLs.
- Vulnerability type: integer_overflow
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to modify configuration parameters, such as proto-max-bulk-len
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.03809
- Epss percentile: 0.90209
- Assignee: [email protected]
- Published at: 2021-10-04T18:15:08Z
- Age in days: 1877
- Modified at: 2026-06-17T03:53:18Z
- Patch available: yes
- References total: 9
- Products total: 6
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32627
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-190 | Integer Overflow or Wraparound |
References
Same in every row:
- Source: nvd
Products
Same in every row:
- Platform bound: no
- Sources: nvd
| Product | Affected | Url |
|---|---|---|
| redis:redis | >= 6.2.0, < 6.2.6; >= 6.0.0, < 6.0.16; >= 5.0.0, < 5.0.14 | /v1/products/redis/redis |
| debian:debian_linux | = 11.0, = 10.0 | /v1/products/debian/debian_linux |
| fedoraproject:fedora | = 35, = 34, = 33 | /v1/products/fedoraproject/fedora |
| oracle:communications_operations_monitor | = 5.0, = 4.4, = 4.3 | /v1/products/oracle/communications_operations_monitor |
| netapp:management_services_for_element_software | all versions | /v1/products/netapp/management_services_for_element_software |
| netapp:management_services_for_netapp_hci | all versions | /v1/products/netapp/management_services_for_netapp_hci |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| redis/redis | commit, fix, security_advisory | yes | /v1/repositories/redis/redis |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports