Unexpected Status Code or Return Value Affecting github.com/redis/go-redis/v9 package, versions >=9.5.1 <9.5.5>=9.6.0 <9.6.3>=9.7.0 <9.7.2


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMREDISGOREDISV9-9486471
  • published20 Mar 2025
  • disclosed19 Mar 2025
  • creditNedyalko Dyakov

Introduced: 19 Mar 2025

NewCVE-2025-29923  (opens in a new tab)
CWE-394  (opens in a new tab)

How to fix?

Upgrade github.com/redis/go-redis/v9 to version 9.5.5, 9.6.3, 9.7.2 or higher.

Overview

Affected versions of this package are vulnerable to Unexpected Status Code or Return Value in initConn(), which causes out of order responses when CLIENT SETINFO times out while establishing a connection.

Workaround

This vulnerability can be avoided by setting DisableIndentity to true when initializing a client.

CVSS Base Scores

version 4.0
version 3.1