—
PYSEC-2023-45
Quick fix
PYSEC-2023-45 — redis: upgrade to the fixed version with the command below.
pip install --upgrade 'redis>=4.3.6'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.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://github.com/redis/redis-py/compare/v4.3.5...v4.3.6[WEB]
- https://github.com/redis/redis-py/pull/2641[WEB]
- https://openai.com/blog/march-20-chatgpt-outage[ARTICLE]
- https://github.com/redis/redis-py/issues/2624[REPORT]
- https://github.com/redis/redis-py/compare/v4.4.2...v4.4.3[WEB]
- https://github.com/redis/redis-py/compare/v4.5.2...v4.5.3[WEB]
- https://github.com/advisories/GHSA-24wv-mv5m-xv4h[ADVISORY]