CVE-2023-28859 redis-py Race Condition due to incomplete fix
An attacker can read response data from unrelated requests due to connection leakage in the async Redis client.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-28859?
CVE-2023-28859 is a medium-severity vulnerability in n/a, published on 26 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Weakness: CWE-459
Which versions are affected by CVE-2023-28859?
5 open source packages ship an affected version, including redis. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
redis PyPI | From 4.2.0 | 4.4.4, 4.5.4 |
redis PyPI | From 4.2.0 | 4.4.4 |
redis PyPI | From 4.2.0 | 4.4.4 |
redis PyPI | From 4.5.0 | 4.5.4 |
redis PyPI | From 4.5.0 | 4.5.4 |
Products include Redis Redis-Py.
How do I fix CVE-2023-28859?
Upgrade redis to a fixed version for your release line: 4.4.4 or 4.5.4.
Is CVE-2023-28859 being exploited?
There is no known exploitation of CVE-2023-28859 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-8fww-64cx-x8p5, PYSEC-2023-46, UBUNTU-CVE-2023-28859.