SecurityContext

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

IdName
CWE-190Integer Overflow or Wraparound

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/redis/redis/commit/f6a40570fa63d5afdd596c78083d754081d80ae3Patch, Third Party Advisory
https://www.oracle.com/security-alerts/cpuapr2022.htmlPatch, Third Party Advisory
https://github.com/redis/redis/security/advisories/GHSA-f434-69fm-g45vThird 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