Skip to content
Heist/ feed
Back to feed
Low

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

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-29923
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:21 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 20 Mar 2025, 18:03 UTC

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.

osv:CVE-2025-29923
Complete source record
{
  "id": "1b670b667df7cee8e5fb3bfa6f44d063e52adabd1fac35c20ad10af38cec0588",
  "url": "https://osv.dev/vulnerability/CVE-2025-29923",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "go-redis allows potential out of order responses when `CLIENT SETINFO` times out during connection establishment",
    "summary": "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.",
    "evidence": "osv:CVE-2025-29923",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2025-29923",
      "aliases": [
        "CVE-2025-29923",
        "GHSA-92cp-5422-2mw7",
        "GO-2025-3540"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/redis/go-redis",
              "type": "GIT",
              "events": [
                {
                  "introduced": "ad131f49b0210b3252648b880921b9f6d2fe452e"
                },
                {
                  "fixed": "ce3034c7b3ee8eeac5b6ac63a33e51db3602cf34"
                },
                {
                  "introduced": "1c0efc2325ad23d515a3ce8f173a58608ca8d312"
                },
                {
                  "fixed": "3aaa9771ea8d2b764fd2ef4a60d7894d44e0fd3e"
                },
                {
                  "introduced": "d43a9fa887d9284ba42fcd46d46e97c56b34e132"
                },
                {
                  "fixed": "35d4e596d997848b1b2f50e1afcd0edab91d4c67"
                },
                {
                  "fixed": "d236865b0cfa1b752ea4b7da666b1fdcd0acebb6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "9.7.0-beta.1"
                      },
                      {
                        "fixed": "9.7.2"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "9.6.0b1"
                      },
                      {
                        "fixed": "9.6.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "9.5.1"
                      },
                      {
                        "fixed": "9.5.5"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d236865b0cfa1b752ea4b7da666b1fdcd0acebb6"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v9.7.1",
            "extra/redisprometheus/v9.7.1",
            "extra/redisotel/v9.7.1",
            "extra/rediscmd/v9.7.1",
            "extra/rediscensus/v9.7.1",
            "v9.6.2",
            "v9.5.4",
            "v9.7.0",
            "extra/redisprometheus/v9.7.0",
            "extra/redisotel/v9.7.0",
            "extra/rediscmd/v9.7.0",
            "extra/rediscensus/v9.7.0",
            "extra/redisotel/v9.6.2",
            "extra/rediscmd/v9.6.2",
            "extra/redisprometheus/v9.6.2",
            "extra/rediscensus/v9.6.2",
            "v9.7.0-beta.1",
            "v9.6.1",
            "v9.6.0",
            "v9.5.3",
            "v9.5.2",
            "v9.5.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-29923.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.506230185Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29923.json",
        "https://github.com/redis/go-redis/security/advisories/GHSA-92cp-5422-2mw7",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-29923",
        "https://github.com/redis/go-redis/commit/d236865b0cfa1b752ea4b7da666b1fdcd0acebb6",
        "https://github.com/redis/go-redis/pull/3295"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/29xxx/CVE-2025-29923.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-29923",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505658,
  "published_at": "2025-03-20T18:03:14.933+00:00"
}