CVE-2023-25155
Redis vulnerability analysis and mitigation

Overview

Redis vulnerability CVE-2023-25155 affects all Redis versions prior to versions 6.0.18, 6.2.11, and 7.0.9. The vulnerability was discovered by Yupeng Yang and disclosed on February 28, 2023. This security issue affects Redis, an in-memory database that persists on disk, specifically impacting the SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD commands (Redis Release, GitHub Advisory).

Technical details

The vulnerability is characterized by an integer overflow condition that can be triggered by authenticated users issuing specially crafted SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD commands. The issue occurs when passing a negative long value that is greater than the maximum positive value that the long can store. The vulnerability has been assigned a CVSS v3.1 base score of 5.5 (Moderate) with the vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H (GitHub Advisory).

Impact

When successfully exploited, this vulnerability results in a runtime assertion and termination of the Redis server process, effectively causing a denial of service condition. The impact is limited to availability, with no direct effect on confidentiality or integrity of the data (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Redis versions 6.0.18, 6.2.11, and 7.0.9. Users are advised to upgrade to these versions or later to mitigate the vulnerability. The fix involves implementing proper input validation for the affected commands (Redis Release, Redis Release, Redis Release).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management