CVE-2021-29477: Vulnerability in the STRALGO LCS command

Published May 4, 2021
·
Updated

A flaw was found in redis. An integer overflow bug could be exploited to corrupt the heap and potentially result with remote code execution. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.

Other sources

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.

Affected Software

6 affected componentsFixes available
redhat/redis<6.2.3
6.2.3
redhat/redis<6.0.13
6.0.13
Redislabs Redis>=6.0.0<6.0.13
Redislabs Redis>=6.2.0<6.2.3
fedoraproject fedora=33
fedoraproject fedora=34

Remediation

Information

The flaw can be mitigated by disallowing usage of the STRALGO LCS command via ACL configuration. Please see https://redis.io/topics/acl for more information on how to do this.

Event History

May 4, 2021
CVE Published
12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·03:15 PM
Data Sourced
via MITRE·03:15 PM
DescriptionSeverityWeakness

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-29477?

CVE-2021-29477 is a vulnerability in Redis version 6.0 or newer that could be exploited to corrupt the heap and potentially result in remote code execution.

2

How severe is CVE-2021-29477?

CVE-2021-29477 has a severity rating of 8.8, which is considered high.

3

Which versions of Redis are affected by CVE-2021-29477?

Redis versions 6.0 or newer, up to and including version 6.2.3, are affected by CVE-2021-29477.

4

How can CVE-2021-29477 be fixed?

To fix CVE-2021-29477, update Redis to version 6.2.3 if you are using version 6.0 or newer.

5

Where can I find more information about CVE-2021-29477?

You can find more information about CVE-2021-29477 on the Redis.io website, the GitHub security advisories page, and the Red Hat Bugzilla page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203