CVE-2021-32687: Redis - Integer Overflow
- Cve: CVE-2021-32687
- Name: Redis - Integer Overflow
- Description: Redis is an open source, in-memory database that persists on disk. An integer overflow bug affecting all versions of Redis can be exploited to corrupt the heap and potentially be used to leak arbitrary contents of the heap or trigger remote code execution. The vulnerability involves changing the default set-max-intset-entries configuration parameter to a very large value and constructing specially crafted commands to manipulate sets. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from modifying the set-max-intset-entries configuration parameter. This can be done using ACL to restrict unprivileged users from using the CONFIG SET command.
- Impact: Attackers can corrupt heap memory or execute remote code, leading to potential full system compromise.
- Remediation: Update Redis to version 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, data_tampering
- Requirement type: logged_in
- Requirements: Attacker needs to modify set-max-intset-entries parameter, which can be mitigated by ACL restrictions.
- 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.04092
- Epss percentile: 0.90988
- Assignee: [email protected]
- Published at: 2021-10-04T18:15:08Z
- Age in days: 1877
- Modified at: 2026-06-17T03:53:25Z
- Patch available: yes
- References total: 9
- Products total: 6
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-32687
- 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