ADVISORIES

GitHub Advisory Database

GHSA-8fww-64cx-x8p5

redis-py Race Condition due to incomplete fix

Details

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.

Affected packages

EcosystemPackageAffected versions
PyPIredis
From 4.5.0 before 4.5.4 (fixed in 4.5.4)
PyPIredis
From 4.2.0 before 4.4.4 (fixed in 4.4.4)

References