GHSA-8fww-64cx-x8p5
redis-py Race Condition due to incomplete fix
Packages
Details
As written in the advisory (Markdown source, shown as plain text).
redis-py through 4.5.3 and 4.4.3 leaves a connection open after canceling an async Redis command at an inopportune time (in the case of a non-pipeline operation), and can send response data to the client of an unrelated request. NOTE: this issue exists because of an incomplete fix for CVE-2023-28858.
References
External links from the advisory. They lead to third-party sites.
- https://nvd.nist.gov/vuln/detail/CVE-2023-28859
- https://github.com/redis/redis-py/issues/2665
- https://github.com/redis/redis-py/pull/1899
- https://github.com/redis/redis-py/pull/2641
- https://github.com/redis/redis-py/pull/2666
- https://github.com/redis/redis-py/pull/2671
- https://github.com/redis/redis-py/commit/66a4d6b2a493dd3a20cc299ab5fef3c14baad965
- https://github.com/redis/redis-py/commit/b3c89acd0ffe8303649ad8207bc911b1d6a033eb
- https://github.com/pypa/advisory-database/tree/main/vulns/redis/PYSEC-2023-46.yaml
- https://github.com/redis/redis-py
- https://github.com/redis/redis-py/releases/tag/v4.4.4
- https://github.com/redis/redis-py/releases/tag/v4.5.4