RHSA-2025:0595HighCVSS 7.0

Red Hat Security Advisory: redis:6 security update

Published
January 22, 2025
Last Modified
August 6, 2026

🔗 CVE IDs covered (10)

📋 Description

CVE-2022-24834 — redis: heap overflow in the lua cjson and cmsgpack libraries CVE-2022-35977 — redis: Integer overflow in the Redis SETRANGE and SORT/SORT_RO commands may result with false OOM panic CVE-2022-36021 — redis: Specially crafted SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD commands can trigger an integer overflow CVE-2023-22458 — redis: Integer overflow in the Redis HRANDFIELD and ZRANDMEMBER commands may lead to denial-of-service CVE-2023-25155 — redis: String matching commands (like SCAN or KEYS) with a specially crafted pattern to trigger a denial-of-service attack CVE-2023-28856 — redis: Insufficient validation of HINCRBYFLOAT command CVE-2023-45145 — redis: possible bypass of Unix socket permissions on startup CVE-2024-31228 — redis: Denial-of-service due to unbounded pattern matching in Redis CVE-2024-31449 — redis: Lua library commands may lead to stack overflow and RCE in Redis CVE-2024-46981 — redis: Redis' Lua library commands may lead to remote code execution

🎯 Affected products19

  • Red Hat Enterprise Linux AppStream (v. 8)
  • redis-0:6.2.17-1.module+el8.10.0+22680+748527fd.aarch64 (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-0:6.2.17-1.module+el8.10.0+22680+748527fd.ppc64le (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-0:6.2.17-1.module+el8.10.0+22680+748527fd.s390x (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-0:6.2.17-1.module+el8.10.0+22680+748527fd.src (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-0:6.2.17-1.module+el8.10.0+22680+748527fd.x86_64 (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-debuginfo-0:6.2.17-1.module+el8.10.0+22680+748527fd.aarch64 (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-debuginfo-0:6.2.17-1.module+el8.10.0+22680+748527fd.ppc64le (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-debuginfo-0:6.2.17-1.module+el8.10.0+22680+748527fd.s390x (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-debuginfo-0:6.2.17-1.module+el8.10.0+22680+748527fd.x86_64 (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-debugsource-0:6.2.17-1.module+el8.10.0+22680+748527fd.aarch64 (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-debugsource-0:6.2.17-1.module+el8.10.0+22680+748527fd.ppc64le (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-debugsource-0:6.2.17-1.module+el8.10.0+22680+748527fd.s390x (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-debugsource-0:6.2.17-1.module+el8.10.0+22680+748527fd.x86_64 (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-devel-0:6.2.17-1.module+el8.10.0+22680+748527fd.aarch64 (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-devel-0:6.2.17-1.module+el8.10.0+22680+748527fd.ppc64le (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-devel-0:6.2.17-1.module+el8.10.0+22680+748527fd.s390x (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-devel-0:6.2.17-1.module+el8.10.0+22680+748527fd.x86_64 (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)
  • redis-doc-0:6.2.17-1.module+el8.10.0+22680+748527fd.noarch (redis:6) as a component of Red Hat Enterprise Linux AppStream (v. 8)

✅ Remediation

For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: Prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands. Workaround: 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. Workaround: Mitigation for this issue is either not available or the currently available options don't meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Workaround: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability. Workaround: A workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

🔗 References (14)