Advisory

PYSEC-2023-46

Also known as: CVE-2023-28859, GHSA-8fww-64cx-x8p5

Summary

The record has no summary.

Details

redis-py through 4.5.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.

Severity

Not rated by the source.

Dates

Published
2023-03-26 19:15 UTC
Modified
2026-06-10 17:02 UTC

Affected packages and fixes

redis

PyPI · All systems

Affected

  • introduced 4.2.0, fixed 4.4.4, introduced 4.5.0, fixed 4.5.4 (ecosystem)

Fixed versions

4.4.4, 4.5.4

Fix

  • Fixed version 4.4.4
    pip install --upgrade redis==4.4.4
  • Fixed version 4.5.4
    pip install --upgrade redis==4.5.4

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences