CVE-2025-29923
LOW 3.7CVSS 3.1go-redis allows potential out of order responses when `CLIENT SETINFO` times out during connection establishment
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.
- Published
- 20 Mar 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-20
- Also known as
- GHSA-92cp-5422-2mw7GO-2025-3540
- Sources
- NVDJSONOSV GHSA-92cp-5422-2mw7JSONOSV GO-2025-3540JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/redis/go-redis/v9 | >= 9.7.0-beta.1, < 9.7.3 | 9.7.3 |
| OSV | Go | github.com/redis/go-redis/v9 | >= 9.6.0b1, < 9.6.3 | 9.6.3 |
| OSV | Go | github.com/redis/go-redis/v9 | >= 9.5.1, < 9.5.5 | 9.5.5 |
| OSV | Go | github.com/redis/go-redis | all versions | |
| OSV | Go | github.com/redis/go-redis/v7 | all versions | |
| OSV | Go | github.com/redis/go-redis/v8 | all versions | |
| OSV | Go | github.com/redis/go-redis/v9 | < 9.6.3 | 9.6.3 |
References
- https://github.com/redis/go-redis/commit/d236865b0cfa1b752ea4b7da666b1fdcd0acebb6 · WEB, FIX
- https://github.com/redis/go-redis/pull/3295 · WEB, FIX
- https://github.com/redis/go-redis/security/advisories/GHSA-92cp-5422-2mw7 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-29923 · ADVISORY
- https://github.com/redis/go-redis · PACKAGE
History
- 25 Nov 2026 20:57 UTC · NVD: first stored (published 20 Mar 2025)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 26 Mar 2025)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 20 Mar 2025)