python-redis — security advisory
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
- Fixed versions
- Not specified
- CVEs
- CVE-2023-28858
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 01:39 UTC · Revision 1
Source evidence
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:UBUNTU-CVE-2023-28858
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": "9198122af811316ffd63a56e41a89f1c41e5b266a4360e01a36c1f30a0dd14f5",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2023-28858",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-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:UBUNTU-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"
}
]
},
{
"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": "low",
"structured": {
"id": "UBUNTU-CVE-2023-28858",
"aliases": [
"UBUNTU-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"
},
{
"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-28858.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-28858.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-28858.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-28858.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "python3-redis",
"binary_version": "6.4.0-1"
}
]
}
}
],
"modified": "2026-10-17T12:57:17.703177125Z",
"provider": "osv",
"upstream": [
"CVE-2023-28858"
],
"references": [
"https://ubuntu.com/security/CVE-2023-28858",
"https://github.com/redis/redis-py/compare/v4.3.5...v4.3.6",
"https://github.com/redis/redis-py/pull/2641",
"https://openai.com/blog/march-20-chatgpt-outage",
"https://github.com/redis/redis-py/compare/v4.4.2...v4.4.3",
"https://github.com/redis/redis-py/compare/v4.5.2...v4.5.3",
"https://www.cve.org/CVERecord?id=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": 357115,
"published_at": "2023-03-26T19:15:00+00:00"
}