Skip to content
Heist/ feed
Back to feed
Medium

python-redis — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2023-28859

redis-py before 4.4.4 and 4.5.x before 4.5.4 leaves a connection open after canceling an async Redis command at an inopportune time, and can send response data to the client of an unrelated request. (This could, for example, happen for a non-pipeline operation.) NOTE: the solutions for CVE-2023-28859 address data leakage across AsyncIO connections in general.

Products
python-redis
Affected versions
4.3.4-3, 4.3.4-4, 5.2.1-1, 6.1.0-1, 6.1.0-2, 6.4.0-1, 6.4.0-2
Fixed versions
Not specified
CVEs
CVE-2023-28859
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:39 UTC · Revision 1

Source evidence

UBUNTU-CVE-2023-28859

core-osv · Original source

Published 26 Mar 2023, 19:15 UTC

redis-py before 4.4.4 and 4.5.x before 4.5.4 leaves a connection open after canceling an async Redis command at an inopportune time, and can send response data to the client of an unrelated request. (This could, for example, happen for a non-pipeline operation.) NOTE: the solutions for CVE-2023-28859 address data leakage across AsyncIO connections in general.

osv:UBUNTU-CVE-2023-28859

python-redis

Fixed versions: Not specified

python-redis

Fixed versions: Not specified

python-redis

Fixed versions: Not specified

python-redis

Fixed versions: Not specified

Complete source record
{
  "id": "e38540f2f48c694aa625340fc626a248fb56f291cfcc50c792fd77eb61988027",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-28859",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2023-28859",
    "summary": "redis-py before 4.4.4 and 4.5.x before 4.5.4 leaves a connection open after canceling an async Redis command at an inopportune time, and can send response data to the client of an unrelated request. (This could, for example, happen for a non-pipeline operation.) NOTE: the solutions for CVE-2023-28859 address data leakage across AsyncIO connections in general.",
    "evidence": "osv:UBUNTU-CVE-2023-28859",
    "products": [
      {
        "name": {
          "value": "python-redis",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.3.4-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-redis",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.3.4-4",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "5.2.1-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "6.1.0-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "6.1.0-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-redis",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.4.0-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "6.4.0-2",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-redis",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "6.1.0-2",
            "evidence": "/affected/3/versions"
          },
          {
            "value": "6.4.0-1",
            "evidence": "/affected/3/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2023-28859",
      "aliases": [
        "UBUNTU-CVE-2023-28859"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-redis",
            "purl": "pkg:deb/ubuntu/python-redis?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "4.3.4-3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28859.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-redis",
                "binary_version": "4.3.4-3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-redis",
            "purl": "pkg:deb/ubuntu/python-redis?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "4.3.4-4",
            "5.2.1-1",
            "6.1.0-1",
            "6.1.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28859.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-redis",
                "binary_version": "6.1.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-redis",
            "purl": "pkg:deb/ubuntu/python-redis?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "6.4.0-1",
            "6.4.0-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28859.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-redis",
                "binary_version": "6.4.0-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-redis",
            "purl": "pkg:deb/ubuntu/python-redis?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "6.1.0-2",
            "6.4.0-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28859.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "python3-redis",
                "binary_version": "6.4.0-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:57:17.571227085Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-28859"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2023-28859",
        "https://github.com/redis/redis-py/pull/2641",
        "https://www.cve.org/CVERecord?id=CVE-2023-28859"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-28859",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 357111,
  "published_at": "2023-03-26T19:15:00+00:00"
}