Skip to content
OpenAdvisories

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 products

VendorProductAffectedFixed
redis go-redis >= 9.7.0-beta.1, < 9.7.2, >= 9.6.0b1, < 9.6.3, >= 9.5.1, < 9.5.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 golang-github-go-redis-redis No fix yet —
Ubuntu 26.04 LTS golang-github-go-redis-redis No fix yet —
Ubuntu 25.10 golang-github-go-redis-redis No fix yet —
Ubuntu 24.04 LTS golang-github-go-redis-redis No fix yet —
Ubuntu 22.04 LTS golang-github-go-redis-redis No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS golang-github-go-redis-redis No fix yet —
Ubuntu 18.04 LTS golang-github-go-redis-redis No fix yet —
ReleasePackageFixed inAdvisory
SLES 15 SP7 grafana 11.5.5-150200.3.72.2 SUSE-SU-2025:01991-1
SLES 15 SP7 rekor 1.4.3-150400.4.28.1 SUSE-SU-2026:0383-1
SLES 15 SP6 grafana 11.5.5-150200.3.72.2 SUSE-SU-2025:01991-1
SLES 12 SP5 golang-github-prometheus-node_exporter 1.9.1-1.36.2 SUSE-SU-2025:01987-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Manager Proxy Module 4.3 prometheus-blackbox_exporter 0.26.0-150000.1.27.1 SUSE-SU-2025:01989-1
SUSE Manager Client Tools for SLE Micro 5 prometheus-blackbox_exporter 0.26.0-150000.1.27.1 SUSE-SU-2025:01989-1
SUSE Manager Client Tools 15 golang-github-prometheus-prometheus 2.53.4-150000.3.62.2 SUSE-SU-2025:01989-1
SUSE Manager Client Tools 15 grafana 11.5.5-150000.1.79.1 SUSE-SU-2025:01989-1
SUSE Manager Client Tools 15 prometheus-blackbox_exporter 0.26.0-150000.1.27.1 SUSE-SU-2025:01989-1
SUSE Manager Client Tools 12 golang-github-prometheus-alertmanager 0.26.0-1.31.2 SUSE-SU-2025:01987-1
SUSE Manager Client Tools 12 golang-github-prometheus-node_exporter 1.9.1-1.36.2 SUSE-SU-2025:01987-1
SUSE Manager Client Tools 12 golang-github-prometheus-prometheus 2.53.4-1.60.2 SUSE-SU-2025:01987-1
SUSE Manager Client Tools 12 grafana 11.5.5-1.79.2 SUSE-SU-2025:01987-1
SUSE Manager Client Tools 12 prometheus-blackbox_exporter 0.26.0-1.27.1 SUSE-SU-2025:01987-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed govulncheck-vulndb 0.0.20250327T184518-1.1 openSUSE-SU-2025:14937-1
openSUSE Tumbleweed grafana 11.5.4-1.1 openSUSE-SU-2025:15052-1
openSUSE Tumbleweed rekor 1.4.1-1.1 openSUSE-SU-2025:15508-1
openSUSE Leap 16.0 grafana 11.6.14+security04-bp160.1.1 openSUSE-SU-2026:20940-1
openSUSE Leap 15.6 grafana 11.5.5-150200.3.72.2 SUSE-SU-2025:01991-1
openSUSE Leap 15.6 prometheus-blackbox_exporter 0.26.0-150000.1.27.1 SUSE-SU-2025:01989-1
openSUSE Leap 15.6 rekor 1.4.3-150400.4.28.1 SUSE-SU-2026:0383-1

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 keda 2.14.1-5 —
Azure Linux 3 telegraf 1.31.0-27 —

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling atlantis 0.33.0-r5 —
Wolfi rolling authservice +1 1.0.4-r5 —
Wolfi rolling falcosidekick 2.31.1-r5 —
Wolfi rolling fluent-bit-plugin-loki 3.4.2-r5 —
Wolfi rolling gitea +1 1.23.5-r1 —
Wolfi rolling kots +2 1.124.8-r2 —
Wolfi rolling oauth2-proxy +1 7.8.2-r0 —
Wolfi rolling splunk-otel-collector +2 0.121.0-r2 —

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/redis/go-redis all versions — GO-2025-3540
Go github.com/redis/go-redis/v7 all versions — GO-2025-3540
Go github.com/redis/go-redis/v8 all versions — GO-2025-3540
Go github.com/redis/go-redis/v9 >= 9.7.0-beta.1, < 9.7.3 9.7.3 GHSA-92cp-5422-2mw7
Go github.com/redis/go-redis/v9 >= 9.6.0b1, < 9.6.3 9.6.3 GHSA-92cp-5422-2mw7
Go github.com/redis/go-redis/v9 >= 9.5.1, < 9.5.5 9.5.5 GHSA-92cp-5422-2mw7
Go github.com/redis/go-redis/v9 < 9.6.3 9.6.3 GO-2025-3540

Advisories 9

References