Advisory

RLSA-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

High Basis: CVSS v3 score 7, vector CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2025-02-13 20:34 UTC
Modified
2026-02-04 18:15 UTC

Affected packages and fixes

redis

RPM packages (rpm) · Rocky Linux 8

Affected

  • introduced 0, fixed 0:6.2.17-1.module+el8.10.0+1923+5b85c6a7 (ecosystem)

Fixed versions

0:6.2.17-1.module+el8.10.0+1923+5b85c6a7

Fix

  • Fixed version 0:6.2.17-1.module+el8.10.0+1923+5b85c6a7
    sudo dnf upgrade redis-0:6.2.17-1.module+el8.10.0+1923+5b85c6a7

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: Rocky Linux errata (Apollo)

Rocky Linux errata, Rocky Enterprise Software Foundation.

Sources & licences