Advisory

PYSEC-2023-45

Also known as: CVE-2023-28858, GHSA-24wv-mv5m-xv4h

Summary

The record has no summary.

Details

redis-py before 4.5.3, as used in ChatGPT and other products, leaves a connection open after canceling an async Redis command at an inopportune time (in the case of a pipeline operation), and can send response data to the client of an unrelated request in an off-by-one manner. The fixed versions for this CVE Record are 4.3.6, 4.4.3, and 4.5.3; however, CVE-2023-28859 is a separate vulnerability.

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.3.6, introduced 4.4.0, fixed 4.4.3, introduced 4.5.0, fixed 4.5.3 (ecosystem)

Fixed versions

4.3.6, 4.4.3, 4.5.3

Fix

  • Fixed version 4.3.6
    pip install --upgrade redis==4.3.6
  • Fixed version 4.4.3
    pip install --upgrade redis==4.4.3
  • Fixed version 4.5.3
    pip install --upgrade redis==4.5.3

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