QID 357116

Date Published: 2024-02-09

QID 357116: Amazon Linux Security Advisory for redis6 : ALAS2023-2024-516

Redis is an in-memory database that persists on disk.
Redis incorrectly handles resizing of memory buffers which can result in integer overflow that leads to heap overflow and potential remote code execution.
This issue has been patched in version 7.0.15 and 7.2.4. (
( CVE-2023-41056) redis is an in-memory database that persists on disk.
On startup, redis begins listening on a unix socket before adjusting its permissions to the user-provided configuration.
If a permissive umask(2) is used, this creates a race condition that enables, during a short period of time, another process to establish an otherwise unauthorized connection.
This problem has existed since redis 2.6.0-rc1.
This issue has been addressed in redis versions 7.2.2, 7.0.14 and 6.2.14.
Users are advised to upgrade.
For users unable to upgrade, it is possible to work around the problem by disabling unix sockets, starting redis with a restrictive umask, or storing the unix socket file in a protected directory. (
( CVE-2023-45145)



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.1 severity.
  • CVSS V2 rated as Medium - 5.4 severity.
  • Solution
    Please refer to Amazon advisory: ALAS2023-2024-516 for affected packages and patching details, or update with your package manager.
    Vendor References

    CVEs related to QID 357116

    Software Advisories
    Advisory ID Software Component Link
    ALAS2023-2024-516 amazon linux 2023 URL Logo alas.aws.amazon.com/AL2023/ALAS-2024-516.html