CVE-2025-29923 Details
Description
go-redis is the official Redis client library for the Go programming language. Prior to 9.5.5, 9.6.3, and 9.7.2, 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.2; however, 9.7.2 has been yanked and 9.7.3 is the lowest available patched version on the 9.7.x branch. As a workaround, set the flag `DisableIndentity` to `true` when constructing the client instance.
A vulnerability in the go-redis library, which is the official Redis client for Go, can lead to out-of-order responses when the CLIENT SETINFO command times out during connection establishment. This issue affects versions 9.5.1 prior to 9.5.5, 9.6.3, and 9.7.3. The problem can arise if the client is set to send its identity, if there are network connectivity problems, or if aggressive timeouts are configured. The vulnerability has different impacts depending on the use case: it can cause persistent out-of-order responses for the duration of a sticky connection, disrupt pipelined commands, or lead to incorrect connection pool behavior by marking connections as bad due to unread data.
Update the go-redis library to version 9.5.5, 9.6.3, or 9.7.3. When creating a client instance, set the DisableIdentity option to true to prevent the CLIENT SETINFO command from being sent on connect.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 20, 2025CISA-ADP
Assessed Mar 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/redis/go-redis/commit/d236865b0cfa1b752ea4b7da666b1fdcd0acebb6 | [email protected] | Source CodeVendor |
| https://github.com/redis/go-redis/pull/3295 | [email protected] | Issue TrackingVendor |
| https://github.com/redis/go-redis/security/advisories/GHSA-92cp-5422-2mw7 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| redis/go-redis | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 3, 2026 | CVE Modified | [email protected] |
| Sep 3, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 20, 2025 | New CVE Received | [email protected] |
Volerion