Improper Input Validation Affecting valkey-compat-redis package, versions <8.0.2-150700.3.5.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.98% (61st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES157-VALKEYCOMPATREDIS-10350988
  • published14 Jun 2025
  • disclosed13 Jun 2025

Introduced: 13 Jun 2025

CVE-2025-27151  (opens in a new tab)
CWE-20  (opens in a new tab)
CWE-121  (opens in a new tab)

How to fix?

Upgrade SLES:15.7 valkey-compat-redis to version 8.0.2-150700.3.5.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream valkey-compat-redis package and not the valkey-compat-redis package as distributed by SLES. See How to fix? for SLES:15.7 relevant fixed versions and status.

Redis is an open source, in-memory database that persists on disk. In versions starting from 7.0.0 to before 8.0.2, a stack-based buffer overflow exists in redis-check-aof due to the use of memcpy with strlen(filepath) when copying a user-supplied file path into a fixed-size stack buffer. This allows an attacker to overflow the stack and potentially achieve code execution. This issue has been patched in version 8.0.2.

CVSS Base Scores

version 3.1