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
| Id | Name |
|---|---|
| CWE-190 | Integer Overflow or Wraparound |
Hackerone
- Reports: 1
- Rank: 5211
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| redislabs:redis | >= 6.2.0, < 6.2.3; >= 6.0.0, < 6.0.13 | no | nvd | /v1/products/redislabs/redis |
| fedoraproject:fedora | = 34, = 33 | no | nvd | /v1/products/fedoraproject/fedora |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| redis/redis | fix, security_advisory | yes | /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