Advisory

ALSA-2025:0595

Also known as: CVE-2022-24834, CVE-2022-35977, CVE-2022-36021, CVE-2023-22458, CVE-2023-25155, CVE-2023-28856, CVE-2023-45145, CVE-2024-31228, CVE-2024-31449, CVE-2024-46981

Summary

Important: redis:6 security update

Details

Redis is an advanced key-value store. It is often referred to as a data-structure server since keys can contain strings, hashes, lists, sets, and sorted sets. For performance, Redis works with an in-memory data set. You can persist it either by dumping the data set to disk every once in a while, or by appending each command to a log.

Security Fix(es):

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

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Severity

Not rated by the source.

Dates

Published
2025-01-22 00:00 UTC
Modified
2026-10-29 11:02 UTC

Affected packages and fixes

redis

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 6.2.17-1.module_el8.10.0+3946+3de613d5 (ecosystem)

Fixed versions

6.2.17-1.module_el8.10.0+3946+3de613d5

Fix

  • Fixed version 6.2.17-1.module_el8.10.0+3946+3de613d5
    sudo dnf upgrade redis-6.2.17-1.module_el8.10.0+3946+3de613d5

redis-devel

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 6.2.17-1.module_el8.10.0+3946+3de613d5 (ecosystem)

Fixed versions

6.2.17-1.module_el8.10.0+3946+3de613d5

Fix

  • Fixed version 6.2.17-1.module_el8.10.0+3946+3de613d5
    sudo dnf upgrade redis-devel-6.2.17-1.module_el8.10.0+3946+3de613d5

redis-doc

RPM packages (rpm) · AlmaLinux 8

Affected

  • introduced 0, fixed 6.2.17-1.module_el8.10.0+3946+3de613d5 (ecosystem)

Fixed versions

6.2.17-1.module_el8.10.0+3946+3de613d5

Fix

  • Fixed version 6.2.17-1.module_el8.10.0+3946+3de613d5
    sudo dnf upgrade redis-doc-6.2.17-1.module_el8.10.0+3946+3de613d5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: AlmaLinux OSV database · MIT

Sources & licences