CVE-2023-28858: redis redis-py Off-by-one Error
Vulnerability summary
CVE-2023-28858 is a low (CVSS 3.7) Off-by-one Error vulnerability in redis redis-py. EPSS estimates a 1.02% chance of exploitation in the next 30 days, higher than 62.7% 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.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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · PypiEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · UbuntuEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- OSV · DebianEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS trend
Probability
1.02%
Chance of exploitation in the next 30 days
Percentile
63%
Versus all other CVEs
30-day change
0.00 pp
From 1.02% 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
Debian1 product
- python-redisAll versions (No fix recorded) | < 5.2.1-1
PyPI1 product
- redis≥ 4.4.0, < 4.4.3 | ≥ 4.2.0, < 4.3.6 | ≥ 4.5.0, < 4.5.3
Redis1 product
- redis-py≥ 4.2.0, < 4.3.6 | ≥ 4.4.0, < 4.4.3 | ≥ 4.5.0, < 4.5.3
Ubuntu1 product
- python-redisAll versions (No fix recorded)
4 vendors · 4 products
References
16 links- github.com/redis/redis-pyPACKAGE