Skip to content
Heist/ feed
Back to feed
LowFix available

python-redis — security advisory

Type: advisorySources: OSVAdvisory ID: DEBIAN-CVE-2023-28858

redis-py before 4.5.3 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 in an off-by-one manner. NOTE: this CVE Record was initially created in response to reports about ChatGPT, and 4.3.6, 4.4.3, and 4.5.3 were released (changing the behavior for pipeline operations); however, please see CVE-2023-28859 about addressing 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, 6.4.0-3
Fixed versions
5.2.1-1
CVEs
CVE-2023-28858
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 15:32 UTC · Revision 1

Source evidence

DEBIAN-CVE-2023-28858

core-osv · Original source

Published 26 Mar 2023, 19:15 UTC

redis-py before 4.5.3 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 in an off-by-one manner. NOTE: this CVE Record was initially created in response to reports about ChatGPT, and 4.3.6, 4.4.3, and 4.5.3 were released (changing the behavior for pipeline operations); however, please see CVE-2023-28859 about addressing data leakage across AsyncIO connections in general.

osv:DEBIAN-CVE-2023-28858

python-redis

Fixed versions: Not specified

python-redis

Fixed versions: 5.2.1-1

python-redis

Fixed versions: 5.2.1-1

Complete source record
{
  "id": "dea82ac850cedb82af28d910983d8d0a36f2b06e932db37b3cb0e19fca640ec8",
  "url": "https://osv.dev/vulnerability/DEBIAN-CVE-2023-28858",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DEBIAN-CVE-2023-28858",
    "summary": "redis-py before 4.5.3 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 in an off-by-one manner. NOTE: this CVE Record was initially created in response to reports about ChatGPT, and 4.3.6, 4.4.3, and 4.5.3 were released (changing the behavior for pipeline operations); however, please see CVE-2023-28859 about addressing data leakage across AsyncIO connections in general.",
    "evidence": "osv:DEBIAN-CVE-2023-28858",
    "products": [
      {
        "name": {
          "value": "python-redis",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "4.3.4-3",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "4.3.4-4",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "5.2.1-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.1.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.4.0-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.4.0-2",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "6.4.0-3",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "python-redis",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.2.1-1",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      },
      {
        "name": {
          "value": "python-redis",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.2.1-1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "low",
    "structured": {
      "id": "DEBIAN-CVE-2023-28858",
      "aliases": [
        "DEBIAN-CVE-2023-28858"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "python-redis",
            "purl": "pkg:deb/debian/python-redis?arch=source&distro=bookworm",
            "ecosystem": "Debian:12"
          },
          "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",
            "6.4.0-3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-28858.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.2.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "python-redis",
            "purl": "pkg:deb/debian/python-redis?arch=source&distro=trixie",
            "ecosystem": "Debian:13"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-28858.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5.2.1-1"
                }
              ]
            }
          ],
          "package": {
            "name": "python-redis",
            "purl": "pkg:deb/debian/python-redis?arch=source&distro=forky",
            "ecosystem": "Debian:14"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2023-28858.json"
          },
          "ecosystem_specific": {
            "urgency": "not yet assigned"
          }
        }
      ],
      "modified": "2026-10-26T18:01:02.691239318Z",
      "provider": "osv",
      "upstream": [
        "CVE-2023-28858"
      ],
      "references": [
        "https://security-tracker.debian.org/tracker/CVE-2023-28858"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2023-28858",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 455302,
  "published_at": "2023-03-26T19:15:06.78+00:00"
}