CVE-2023-28859: redis redis-py Incomplete Cleanup
Vulnerability summary
CVE-2023-28859 is a medium (CVSS 6.5) Incomplete Cleanup vulnerability in redis redis-py. EPSS estimates a 1.03% chance of exploitation in the next 30 days, higher than 63.2% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 26-03-2023PublishedVulnerability first disclosed.
- 20-02-2025Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 3 sources · 2 versions- OSV · PypiEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
EPSS trend
Probability
1.03%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
0.00 pp
From 1.03% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
PyPI1 product
- redis≥ 4.2.0, < 4.4.4 | ≥ 4.5.0, < 4.5.4
Redis1 product
- redis-py≥ 4.2.0, < 4.4.4 | ≥ 4.5.0, < 4.5.4
Ubuntu1 product
- python-redisAll versions (No fix recorded)
3 vendors · 3 products