CVE-2025-29923redis go-redis
Low 3.7 No auth needed
Follow: this CVE · redis · redis go-redis We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 3.1
- 3.7
- EPSS
- —
- Auth required
- No
- Published
- Mar 20, 2025
- Updated
- Sep 3, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for go-redis.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | github.com/redis/go-redis |
all |
no fixed version | — |
| Go | github.com/redis/go-redis |
all |
no fixed version | — |
| Go | github.com/redis/go-redis |
all |
no fixed version | — |
| Go | github.com/redis/go-redis/v7 |
all |
no fixed version | — |
| Go | github.com/redis/go-redis/v8 |
all |
no fixed version | — |
| Go | github.com/redis/go-redis/v9 |
≥ 9.7.0-beta.1 < 9.7.3 |
9.7.3 |
go get github.com/redis/go-redis/v9@v9.7.3 |
| Go | github.com/redis/go-redis/v9 |
≥ 9.6.0b1 < 9.6.3 |
9.6.3 |
go get github.com/redis/go-redis/v9@v9.6.3 |
| Go | github.com/redis/go-redis/v9 |
≥ 9.5.1 < 9.5.5 |
9.5.5 |
go get github.com/redis/go-redis/v9@v9.5.5 |
| Go | github.com/redis/go-redis/v9 |
≥ 9.5.1 < 9.5.5 |
9.5.5 |
go get github.com/redis/go-redis/v9@v9.5.5 |
| Go | github.com/redis/go-redis/v9 |
< 9.6.3 |
9.6.3 |
go get github.com/redis/go-redis/v9@v9.6.3 |
| Go | github.com/redis/go-redis/v9 |
≥ 9.7.0-beta.1 < 9.7.3 |
9.7.3 |
go get github.com/redis/go-redis/v9@v9.7.3 |
Per OSV / GitHub Advisories (GO-2025-3540, GHSA-92cp-5422-2mw7). Check the version in your lockfile before upgrading.
Affected products
- redis · go-redis
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for grafana · SUSE · openSUSE-SU-2026:20940-1 · Jun 10, 2026 Critical
- Security update for rekor · SUSE · SUSE-SU-2026:0383-1 · Feb 4, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.