SecurityContext

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

IdName
CWE-190Integer Overflow or Wraparound

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/redis/redis/commit/a30d367a71b7017581cf1ca104242a3c644dec0fPatch, Third Party Advisory
https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
https://github.com/redis/redis/security/advisories/GHSA-m3mf-8x9w-r27qThird Party Advisory
https://security.gentoo.org/glsa/202209-17Third Party Advisory
https://security.netapp.com/advisory/ntap-20211104-0003/Third Party Advisory
https://www.debian.org/security/2021/dsa-5001Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HTYQ5ZF37HNGTZWVNJD3VXP7I6MEEF42/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VL5KXFN3ATM7IIM7Q4O4PWTSRGZ5744Z/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WR5WKJWXD4D6S3DJCZ56V74ESLTDQRAB/

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
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_softwareall versions/v1/products/netapp/management_services_for_element_software
netapp:management_services_for_netapp_hciall versions/v1/products/netapp/management_services_for_netapp_hci

Projects

RepositoryLink kindsIndexedUrl
redis/rediscommit, fix, security_advisoryyes/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