PyPA Advisory Database
PYSEC-2023-45
Details
redis-py before 4.5.3, as used in ChatGPT and other products, leaves a connection open after canceling an async Redis command at an inopportune time (in the case of a pipeline operation), and can send response data to the client of an unrelated request in an off-by-one manner. The fixed versions for this CVE Record are 4.3.6, 4.4.3, and 4.5.3; however, CVE-2023-28859 is a separate vulnerability.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | redis | From 4.2.0 before 4.3.6 (fixed in 4.3.6) From 4.4.0 before 4.4.3 (fixed in 4.4.3) From 4.5.0 before 4.5.3 (fixed in 4.5.3) |
References
- https://github.com/redis/redis-py/compare/v4.3.5...v4.3.6
- https://github.com/redis/redis-py/pull/2641
- https://openai.com/blog/march-20-chatgpt-outage
- https://github.com/redis/redis-py/issues/2624
- https://github.com/redis/redis-py/compare/v4.4.2...v4.4.3
- https://github.com/redis/redis-py/compare/v4.5.2...v4.5.3
- https://github.com/advisories/GHSA-24wv-mv5m-xv4h