Valkey Affected by RESP Protocol Injection via Lua error_reply (valkey-io valkey)

CVE-2025-67733
HIGH 8.5

At a glance

Source
NVD
EPSS
EPSS 0.65 % · percentile 51 ()
State
PUBLISHED
Published
Updated
Assigner
GitHub_M
NVD status
Modified

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.

Weaknesses (CWE)

  • CWE-74 — Improper Neutralization of Special Elements in Output Used by a Downstream Component
  • CWE-170 — Improper Null Termination

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:HGitHub_M
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:Hredhat-SADP
CVSS 3.1HIGH 8.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:HNVD · security-advisories@github.com (Secondary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:HNVD · nvd@nist.gov (Primary)
CVSS 3.1HIGH 7.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:HNVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
valkey-io · valkeyaffected < 7.2.12 ; affected >= 8.0.0, < 8.0.7 ; affected >= 8.1.0, < 8.1.6 ; affected >= 9.0.0, < 9.0.2

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD