HighGHSA-8fww-64cx-x8p5CVE-2023-28859PYSEC-2023-46

redis-py Race Condition due to incomplete fix

Published 26 Mar 2023 · Updated 25 Oct 2024

Is your project on an affected redis?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected packages

redisPyPI
Affected
>=4.5.0 <4.5.4
Fixed in
4.5.4
Update to the fixed version for your release line, for example:pip install 'redis>=4.5.4'
redisPyPI
Affected
>=4.2.0 <4.4.4
Fixed in
4.4.4
Update to the fixed version for your release line, for example:pip install 'redis>=4.4.4'

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.

Is GHSA-8fww-64cx-x8p5 in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected redis, and gives you the command that fixes it.

More advisories for redis

  • MediumCVE-2023-28858redis-py Race Condition vulnerability · 26 Mar 2023
redis security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.