Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-29923

LOW 3.7EPSS 43%

go-redis allows potential out of order responses when `CLIENT SETINFO` times out during connection establishment

Also known as GHSA-92cp-5422-2mw7, GO-2025-3540

Mitigation

  • Upgrade github.com/redis/go-redis/v9 to one of 9.7.3, 9.6.3, 9.5.5 (or later in the same release line).

Who should check

  • Projects that depend on Go package github.com/redis/go-redis/v9 (>= 9.7.0-beta.1, < 9.7.3)
  • Projects that depend on Go package github.com/redis/go-redis
  • Projects that depend on Go package github.com/redis/go-redis/v7
  • Projects that depend on Go package github.com/redis/go-redis/v8
  • Anyone running go-redis >= 9.7.0-beta.1, < 9.7.2; >= 9.6.0b1, < 9.6.3; >= 9.5.1, < 9.5.5

Vulnerability facts

Affected
github.com/redis/go-redis/v9 >= 9.7.0-beta.1, < 9.7.3; github.com/redis/go-redis; github.com/redis/go-redis/v7; github.com/redis/go-redis/v8
Fixed in
9.7.3, 9.6.3, 9.5.5
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
3.7 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.61% chance of exploitation in 30 days (percentile 43, 2026-11-26)
CWE
CWE-20
Published
Modified

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 and fixed versions

Package / productAffectedFixedSource
Go github.com/redis/go-redis/v9>= 9.7.0-beta.1, < 9.7.39.7.3, 9.6.3, 9.5.5osv
Go github.com/redis/go-redis——osv
Go github.com/redis/go-redis/v7——osv
Go github.com/redis/go-redis/v8——osv
go-redis>= 9.7.0-beta.1, < 9.7.2; >= 9.6.0b1, < 9.6.3; >= 9.5.1, < 9.5.5—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-29923. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-29923.md
Affected: github.com/redis/go-redis/v9 >= 9.7.0-beta.1, < 9.7.3; github.com/redis/go-redis; github.com/redis/go-redis/v7; github.com/redis/go-redis/v8
Fixed in: 9.7.3, 9.6.3, 9.5.5

Steps:
1. Search this machine and project for github.com/redis/go-redis/v9 (Go), github.com/redis/go-redis (Go), github.com/redis/go-redis/v7 (Go), github.com/redis/go-redis/v8 (Go), go-redis: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-29923 being exploited?

There is no confirmed exploitation: CVE-2025-29923 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.61% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-29923?

Low: CVSS 3.7 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-29923?

github.com/redis/go-redis/v9 >= 9.7.0-beta.1, < 9.7.3; github.com/redis/go-redis; github.com/redis/go-redis/v7; github.com/redis/go-redis/v8.

Is there a fix for CVE-2025-29923?

Yes. Fixed in 9.7.3, 9.6.3, 9.5.5. Upgrade github.com/redis/go-redis/v9 to one of 9.7.3, 9.6.3, 9.5.5 (or later in the same release line).

How do I check if I'm affected by CVE-2025-29923?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors