redis-py Race Condition due to incomplete fix
Moderate severity
GitHub Reviewed
Published
Mar 26, 2023
to the GitHub Advisory Database
•
Updated Sep 7, 2023
Package
Affected versions
>= 4.5.0, < 4.5.4
>= 4.2.0, < 4.4.4
Patched versions
4.5.4
4.4.4
Description
Published by the National Vulnerability Database
Mar 26, 2023
Published to the GitHub Advisory Database
Mar 26, 2023
Reviewed
Mar 27, 2023
Last updated
Sep 7, 2023
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