# CVE-2025-29923: go-redis allows potential out of order responses when `CLIENT SETINFO` times out during connection establishment

> CVE-2025-29923: go-redis allows potential out of order responses when `CLIENT SETINFO` times out during connection establishment. CVSS 3.7 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2025-29923
Last updated: 2026-09-03T13:04:17Z

- Published: 2025-03-20 18:03 UTC · Updated: 2026-09-03 13:04 UTC · Assigner: GitHub\_M
- CVSS: 3.7 (CVSS 3.1) · Severity: Low · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.75%, 55th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-20

## 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.

## Affected vendors and products

- redis: go-redis

## Tracked companies

- [Redis](https://rewindex.com/company/redis.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-29923)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-29923)
- [https://github.com/redis/go-redis/commit/d236865b0cfa1b752ea4b7da666b1fdcd0acebb6](https://github.com/redis/go-redis/commit/d236865b0cfa1b752ea4b7da666b1fdcd0acebb6)
- [https://github.com/redis/go-redis/pull/3295](https://github.com/redis/go-redis/pull/3295)
- [https://github.com/redis/go-redis/security/advisories/GHSA-92cp-5422-2mw7](https://github.com/redis/go-redis/security/advisories/GHSA-92cp-5422-2mw7)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-29923 · Markdown: https://rewindex.com/cve/CVE-2025-29923.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-29923 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:11:49.248Z
