Improper input validation in Redis Go-Redis

CVE-2025-29923

go-redis is the official Redis client library for the Go programming language. Prior to 9.5.5, 9.6.3, and 9.7.3, go-redis potentially responds out of order when `CLIENT SETINFO` times out during connection establishment. This can happen when the client is configured to transmit its identity, there are network connectivity issues, or the client was configured with aggressive timeouts. The problem occurs for multiple use cases. For sticky connections, you receive persistent out-of-order responses for the lifetime of the connection. All commands in the pipeline receive incorrect responses. When used with the default ConnPool once a connection is returned after use with ConnPool#Put the read buffer will be checked and the connection will be marked as bad due to the unread data. This means that at most one out-of-order response before the connection is discarded. This issue is fixed in 9.5.5, 9.6.3, and 9.7.3. You can prevent the vulnerability by setting the flag DisableIndentity to true when constructing the client instance.

Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)

EPSS: 0.007 (49.2th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 3.7 (Low). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N.

Affected products

  • Redis Go-redis — versions >= 9.7.0-beta.1, < 9.7.3, >= 9.6.0b1, < 9.6.3, >= 9.5.1, < 9.5.5

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-29923?
CVE-2025-29923 is a low-severity vulnerability in Redis Go-Redis, classified under Improper Input Validation. CVSS score: 3.7/10. Published 2025-03-20.
How severe is CVE-2025-29923?
Low severity. CVSS v3 base score is 3.7 out of 10.