CVE-2025-29923 go-redis allows potential out of order responses when `CLIENT SETINFO` times out during connection establishment
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 1 fixed, 2 partially fixed, 4 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/golang-github-go-redis-redis(Ubuntu 22.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-go-redis-redis(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-go-redis-redis(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/golang-github-go-redis-redis(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| azure linux telegraf(Azure Linux 3.0) | < 1.31.0-24; < 1.31.0-27; All versions | 1.31.0-24, 1.31.0-27 | Partially fixed |
| redis github.com/redis/go-redis/v9(Go) | < 9.6.3; >= 9.5.1, < 9.5.5; >= 9.6.0b1, < 9.6.3; >= 9.7.0-beta.1, < 9.7.3 +2 more | 9.5.5, 9.6.3, 9.7.3 | Partially fixed |
| azure linux keda(Azure Linux 3.0) | < 2.14.1-5 | 2.14.1-5 | Fixed |
| redis github.com/redis/go-redis/v9 | = >= 9.5.1, < 9.5.5; = >= 9.6.0b1, < 9.6.3; = >= 9.7.0-beta.1, < 9.7.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| redis github.com/redis/go-redis/v9(Go) | >= 9.7.0-beta.1, < 9.7.3 | 9.7.3 |
| redis github.com/redis/go-redis/v9(Go) | >= 9.6.0b1, < 9.6.3 | 9.6.3 |
| redis github.com/redis/go-redis/v9(Go) | >= 9.5.1, < 9.5.5 | 9.5.5 |
| redis github.com/redis/go-redis/v9(Go) | All versions | No fix listed |
| redis github.com/redis/go-redis/v9(Go) | < 9.6.3 | 9.6.3 |
| azure linux telegraf(Azure Linux:3.0) | All versions | No fix listed |
| azure linux telegraf(Azure Linux:3.0) | < 1.31.0-24 | 1.31.0-24 |
| azure linux keda(Azure Linux:3.0) | < 2.14.1-5 | 2.14.1-5 |
| azure linux telegraf(Azure Linux:3.0) | < 1.31.0-27 | 1.31.0-27 |
| redis github.com/redis/go-redis/v9(Go) | >= 9.7.0-beta.1, <= 9.7.1 | No fix listed |
| redis github.com/redis/go-redis/v9 | = >= 9.7.0-beta.1, < 9.7.2 | No fix listed |
| redis github.com/redis/go-redis/v9 | = >= 9.6.0b1, < 9.6.3 | No fix listed |
| redis github.com/redis/go-redis/v9 | = >= 9.5.1, < 9.5.5 | No fix listed |
| ubuntu/golang-github-go-redis-redis(Ubuntu:22.04) | All versions | No fix listed |
| ubuntu/golang-github-go-redis-redis(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/golang-github-go-redis-redis(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/golang-github-go-redis-redis(Ubuntu:26.10) | All versions | No fix listed |
References
- https://github.com/redis/go-redis/security/advisories/GHSA-92cp-5422-2mw7 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/redis/go-redis/pull/3295 patch
- https://github.com/redis/go-redis/commit/d236865b0cfa1b752ea4b7da666b1fdcd0acebb6 patch
- github.com product
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- www.cve.org
- Debian Security Tracker CVE-2025-29923 vendor-advisory
- ENISA EUVD EUVD-2025-7158 third-party-advisory