Vulnerability · Published Mar 26, 2023 · Assigned by mitre
CVE-2023-28858
Low 3.7
In plain English
A low-severity security flaw in the py3-redis package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-redis | 4.5.4-r0 | ALPINE-CVE-2023-28858 |
| Alpine:v3.21 | py3-redis | 4.5.4-r0 | ALPINE-CVE-2023-28858 |
| Alpine:v3.22 | py3-redis | 4.5.4-r0 | ALPINE-CVE-2023-28858 |
| Alpine:v3.23 | py3-redis | 4.5.4-r0 | ALPINE-CVE-2023-28858 |
| Alpine:v3.24 | py3-redis | 4.5.4-r0 | ALPINE-CVE-2023-28858 |
| Debian:12 | python-redis | no fix listed | DEBIAN-CVE-2023-28858 |
| Debian:13 | python-redis | 5.2.1-1 | DEBIAN-CVE-2023-28858 |
| Debian:14 | python-redis | 5.2.1-1 | DEBIAN-CVE-2023-28858 |
| PyPI | redis | 4.3.6, 4.4.3, 4.5.3 | PYSEC-2023-45 |
| PyPI | redis | 4.4.3 | GHSA-24wv-mv5m-xv4h |
| PyPI | redis | 4.5.3 | GHSA-24wv-mv5m-xv4h |
| PyPI | redis | 4.3.6 | GHSA-24wv-mv5m-xv4h |
| Ubuntu:24.04:LTS | python-redis | no fix listed | UBUNTU-CVE-2023-28858 |
| Ubuntu:25.10 | python-redis | no fix listed | UBUNTU-CVE-2023-28858 |
| Ubuntu:26.04:LTS | python-redis | no fix listed | UBUNTU-CVE-2023-28858 |
| Ubuntu:26.10 | python-redis | no fix listed | UBUNTU-CVE-2023-28858 |
Affected products (as reported)
References
- https://github.com/redis/redis-py/pull/2641
- https://github.com/redis/redis-py/issues/2624
- https://github.com/redis/redis-py/compare/v4.5.2...v4.5.3
- https://github.com/redis/redis-py/compare/v4.4.2...v4.4.3
- https://github.com/redis/redis-py/compare/v4.3.5...v4.3.6
- https://openai.com/blog/march-20-chatgpt-outage