CVE-2023-28859Redis-py
Medium 6.5
Follow: this CVE · Redis · Redis-py We alert you by email or Slack (account required).
- Priority
- 39
- CVSS 3.1
- 6.5
- EPSS
- 1.0% probability of exploitation in 30 days · percentile 63
- Auth required
- Yes
- Published
- Mar 26, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-459
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Redis-py.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | redis |
≥ 4.5.0 < 4.5.4 |
4.5.4 |
pip install "redis>=4.5.4" |
| PyPI | redis |
≥ 4.2.0 < 4.4.4 |
4.4.4 |
pip install "redis>=4.4.4" |
| PyPI | redis |
≥ 4.2.0 < 4.4.4 |
4.4.4 |
pip install "redis>=4.4.4" |
| PyPI | redis |
≥ 4.5.0 < 4.5.4 |
4.5.4 |
pip install "redis>=4.5.4" |
Per OSV / GitHub Advisories (GHSA-8fww-64cx-x8p5, PYSEC-2023-46). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| redis | redis-py | ≥ 4.2.0 < 4.4.4 |
| redis | redis-py | ≥ 4.5.0 < 4.5.4 |
Official advisories
- python313-redis-7.0.1-2.5 on GA media · SUSE · openSUSE-SU-2026:12036-1 · Oct 4, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Issue Tracking Patch Vendor Advisory
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Release Notes
- github.com Release Notes