QID 356470

QID 356470: Amazon Linux Security Advisory for redis : ALAS2REDIS6-2023-008

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. (
( CVE-2021-29477) 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.
This is a result of an incomplete fix by( CVE-2021-29477.
The problem is fixed in version 6.2.4 and 6.0.14.
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.
On 64 bit systems which have the fixes of( CVE-2021-29477 (6.2.3 or 6.0.13), it is sufficient to make sure that the proto-max-bulk-len config parameter is smaller than 2gb (default is 512mb). (
( CVE-2021-32625)



Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.

Successful exploitation of this vulnerability could lead to a securitybreach or could affect integrity, availability, and confidentiality.

  • CVSS V3 rated as Critical - 8.8 severity.
  • CVSS V2 rated as High - 6.5 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2REDIS6-2023-008 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 356470

    Software Advisories
    Advisory ID Software Component Link
    ALAS2REDIS6-2023-008 amazon linux 2 URL Logo alas.aws.amazon.com/AL2/ALASREDIS6-2023-008.html