SecurityContext

CVE-2021-29477: Redis - Integer Overflow

  • Cve: CVE-2021-29477
  • Name: Redis - Integer Overflow
  • Description: Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. An integer overflow bug in Redis version 6.0 or newer could be exploited using the `STRALGO LCS` command to corrupt the heap and potentially result with remote code execution. The problem is fixed in version 6.2.3 and 6.0.13. An additional workaround to mitigate the problem without patching the redis-server executable is to use ACL configuration to prevent clients from using the `STRALGO LCS` command.
  • Impact: Attackers can corrupt heap memory and potentially execute arbitrary code remotely on the server.
  • Remediation: Update Redis to version 6.2.3 or 6.0.13. Alternatively, use ACL configuration to restrict the STRALGO LCS command.
  • Vulnerability type: integer_overflow
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.03997
  • Epss percentile: 0.90784
  • Assignee: [email protected]
  • Published at: 2021-05-04T16:15:07Z
  • Age in days: 2030
  • Modified at: 2026-06-17T03:47:43Z
  • Patch available: yes
  • References total: 7
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-29477
  • 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: requirements

Cwe

IdName
CWE-190Integer Overflow or Wraparound

Hackerone

  • Reports: 1
  • Rank: 5211

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/redis/redis/security/advisories/GHSA-vqxj-26vj-996gThird Party Advisory
https://security.gentoo.org/glsa/202107-20Third Party Advisory
https://redis.io/Product
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BPWBIZXA67JFIB63W2CNVVILCGIC2ME5/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZJ6JGQ2ETZB2DWTQSGCOGG7EF3ILV4V/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/

Products

ProductAffectedPlatform boundSourcesUrl
redislabs:redis>= 6.2.0, < 6.2.3; >= 6.0.0, < 6.0.13nonvd/v1/products/redislabs/redis
fedoraproject:fedora= 34, = 33nonvd/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
redis/redisfix, security_advisoryyes/v1/repositories/redis/redis

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 1
  • Exposed hosts: 186444
  • 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