What’s Vulnerable › Vulnerabilities
CVE-2023-28859
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-03-26 · updated 2026-06-17
- Weakness: CWE-459
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.
Affected products
- Redis-Py: from 4.2.0 before 4.4.4; from 4.5.0 before 4.5.4 — fixed in 4.4.4, 4.5.4
How to fix
Upgrade to a fixed version: Redis-Py 4.4.4, 4.5.4. Check the vendor advisory for mitigations.
References
- https://github.com/redis/redis-py/issues/2665
- https://github.com/redis/redis-py/pull/2641
- https://github.com/redis/redis-py/pull/2666
- https://github.com/redis/redis-py/releases/tag/v4.4.4
- https://github.com/redis/redis-py/releases/tag/v4.5.4
- https://github.com/redis/redis-py/issues/2665
- https://github.com/redis/redis-py/pull/2641
- https://github.com/redis/redis-py/pull/2666
- https://github.com/redis/redis-py/releases/tag/v4.4.4
- https://github.com/redis/redis-py/releases/tag/v4.5.4
Get alerted when CVE-2023-28859 or the next vulnerability affects your stack