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.01% chance of exploitation in the next 30 days, higher than 64.2% of scored vulnerabilities.
Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?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
6 scores · 5 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
- OSV · AlpineEcosystem 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.01%
Chance of exploitation in the next 30 days
Percentile
64%
Versus all other CVEs
30-day change
Decrease -0.01 pp
From 1.02% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Alpine1 product
- py3-redis< 4.5.4-r0
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)
5 vendors · 5 products
References
17 links- github.com/redis/redis-pyPACKAGE