8.5High

CVE-2025-67733Valkey Affected by RESP Protocol Injection via Lua error_reply

valkey-io valkey; Red Hat Red Hat Enterprise Linux 10; Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support; Red Hat Red Hat Enterprise Linux 9 Published: (8 months ago)

Description

Valkey is a distributed key-value database. Prior to versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12, a malicious user can use scripting commands to inject arbitrary information into the response stream for the given client, potentially corrupting or returning tampered data to other users on the same connection. The error handling code for lua scripts does not properly handle null characters. Versions 9.0.2, 8.1.6, 8.0.7, and 7.2.12 fix the issue.

Weakness (CWE): CWE-74CWE-170

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
lfprojects valkey < 7.2.12
Red Hat Red Hat Enterprise Linux 10 all versions
Red Hat Red Hat Enterprise Linux 10.0 Extended Update Support all versions
Red Hat Red Hat Enterprise Linux 9 all versions
valkey-io valkey < 7.2.12, >= 8.0.0, < 8.0.7, >= 8.1.0, < 8.1.6, >= 9.0.0, < 9.0.2

References and patches

CPE matches (NVD) (4)

  • cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:* < 7.2.12
  • cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:* ≥ 8.0.0 < 8.0.7
  • cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:* ≥ 8.1.0 < 8.1.6
  • cpe:2.3:a:lfprojects:valkey:*:*:*:*:*:*:*:* ≥ 9.0.0 < 9.0.2