github.com/redis/go-redis/v9
Affected
- introduced
9.7.0-beta.1, fixed9.7.3(semver)
Fixed versions
9.7.3
Fix
- Fixed version
9.7.3go get github.com/redis/go-redis/[email protected]
Advisory
Also known as: CVE-2025-29923, GO-2025-3540
go-redis allows potential out of order responses when CLIENT SETINFO times out during connection establishment
Impact
The issue only occurs when the CLIENT SETINFO command times out during connection establishment. The following circumstances can cause such a timeout:
DisableIndentity flag.The impact differs by use case:
Patches
We prepared a fix in https://github.com/redis/go-redis/pull/3295 and plan to release patch versions soon. Versions 9.7.2, 9.6.3, and 9.5.5 were patched. However, 9.7.2 has been yanked, making 9.7.3 the lowest available 9.7.x version with a patch.
Workarounds
You can prevent the vulnerability by setting the flag DisableIndentity (BTW: We also need to fix the spelling.) to true when constructing the client instance.
Credit
Akhass Wasti
Ramin Ghorashi
Anton Amlinger
Syed Rahman
Mahesh Venkateswaran
Sergey Zavoloka
Aditya Adarwal
Abdulla Anam
Abd-Alhameed
Alex Vanlint
Gaurav Choudhary
Vedanta Jha
Yll Kelani
Ryan Picard
Low Basis: The source's own band: LOW
9.7.0-beta.1, fixed 9.7.3 (semver)9.7.3
9.7.3go get github.com/redis/go-redis/[email protected]9.6.0b1, fixed 9.6.3 (ecosystem)9.6.3
9.6.3go get github.com/redis/go-redis/[email protected]9.5.1, fixed 9.5.5 (semver)9.5.5
9.5.5go get github.com/redis/go-redis/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0