Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-29923
March 20, 2025
go-redis is the official Redis client library for the Go programming language. Prior to 9.5.5, 9.6.3, and 9.7.3, 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.3. You can prevent the vulnerability by setting the flag DisableIndentity to true when constructing the client instance.
Affected Packages
https://github.com/redis/go-redis.git (GITHUB):
Affected version(s) >=v9.6.0 <v9.6.3
Fix Suggestion:
Update to version v9.6.3
https://github.com/redis/go-redis.git (GITHUB):
Affected version(s) >=v9.5.1 <v9.5.5
Fix Suggestion:
Update to version v9.5.5
https://github.com/redis/go-redis.git (GITHUB):
Affected version(s) >=v9.7.0 <v9.7.3
Fix Suggestion:
Update to version v9.7.3
github.com/redis/go-redis/v9 (GO):
Affected version(s) >=v9.7.0-beta.1 <v9.7.3
Fix Suggestion:
Update to version v9.7.3
github.com/redis/go-redis/v9 (GO):
Affected version(s) >=v9.5.1 <v9.5.5
Fix Suggestion:
Update to version v9.5.5
github.com/redis/go-redis/v9 (GO):
Affected version(s) >=v9.6.0 <v9.6.3
Fix Suggestion:
Update to version v9.6.3
Additional Notes
The description of this vulnerability differs from MITRE.
Do you need more information?
Contact Us
CVSS v4
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
HIGH
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
3.7
Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
Improper Input Validation
EPSS
Base Score:
0.04