Skip to content
OpenAdvisories
Medium ALAS2023-2023-154 4 CVEs

Moderate: redis6 security update (Amazon Linux 2023)

Published Mar 30, 2023 · Updated Apr 4, 2023

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2023-25155: Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted `SRANDMEMBER`, `ZRANDMEMBER`, and `HRANDFIELD` commands can trigger an integer overflow, resulting in a runtime assertion and termination of the Redis server process. This problem affects all Redis versions. Patches were released in Redis version(s) 6.0.18, 6.2.11 and 7.0.9. CVE-2022-3647: ** DISPUTED ** A vulnerability, which was classified as problematic, was found in Redis. Affected is the function sigsegvHandler of the file debug.c of the component Crash Report. The manipulation leads to denial of service. The real existence of this vulnerability is still doubted at the moment. The name of the patch is 0bf90d944313919eb8e63d3588bf63a367f020a3. It is recommended to apply a patch to fix this issue. VDB-211962 is the identifier assigned to this vulnerability. NOTE: The vendor claims that this is not a DoS because it applies to the crash logging mechanism which is triggered after a crash has occurred. CVE-2022-36021: Redis is an in-memory database that persists on disk. Authenticated users can use string matching commands (like `SCAN` or `KEYS`) with a specially crafted pattern to trigger a denial-of-service attack on Redis, causing it to hang and consume 100% CPU time. The problem is fixed in Redis versions 6.0.18, 6.2.11, 7.0.9. CVE-2022-35977: Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted `SETRANGE` and `SORT(_RO)` commands can trigger an integer overflow, resulting with Redis attempting to allocate impossible amounts of memory and abort with an out-of-memory (OOM) panic. The problem is fixed in Redis versions 7.0.8, 6.2.9 and 6.0.17. Users are advised to upgrade. There are no known workarounds for this vulnerability.

Fixed packages 5

ReleasePackageFixed in
Amazon Linux · 2023 redis6 0:6.2.11-1.amzn2023.0.1
Amazon Linux · 2023 redis6-debuginfo 0:6.2.11-1.amzn2023.0.1
Amazon Linux · 2023 redis6-debugsource 0:6.2.11-1.amzn2023.0.1
Amazon Linux · 2023 redis6-devel 0:6.2.11-1.amzn2023.0.1
Amazon Linux · 2023 redis6-doc 0:6.2.11-1.amzn2023.0.1

Vulnerabilities 4

  • Medium 5.5
    CVE-2022-35977 EPSS 14%

    Integer overflow in certain command arguments can drive Redis to OOM panic

    Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted `SETRANGE` and `SORT(_RO)` commands can trigger an integer overflow, resulting with Redis attempting to allocate impossible amounts of memory and abort with an…

  • Medium 5.5
    CVE-2022-36021 EPSS 60%

    Redis string pattern matching can be abused to achieve Denial of Service

    Redis is an in-memory database that persists on disk. Authenticated users can use string matching commands (like `SCAN` or `KEYS`) with a specially crafted pattern to trigger a denial-of-service attack on Redis, causing it to hang and consume 100% CPU time. T…

  • Medium 5.5

    Integer Overflow in several Redis commands can lead to denial of service.

    Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted `SRANDMEMBER`, `ZRANDMEMBER`, and `HRANDFIELD` commands can trigger an integer overflow, resulting in a runtime assertion and termination of the Redis server p…

  • Low 3.1

    Redis Crash Report debug.c sigsegvHandler denial of service

    ** DISPUTED ** A vulnerability, which was classified as problematic, was found in Redis up to 6.2.7/7.0.5. Affected is the function sigsegvHandler of the file debug.c of the component Crash Report. The manipulation leads to denial of service. The complexity o…

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-35977.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-36021.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2022-3647.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2023-25155.html