Live threats

All CVEs / Redis

CVE-2023-28859Redis-py

Medium 6.5

Priority
39
CVSS 3.1
6.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
Yes
Published
Mar 26, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-459
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

What happens

redis-py before 4.4.4 and 4.5.x before 4.5.4 leaves a connection open after canceling an async Redis command at an inopportune time, and can send response data to the client of an unrelated request. (This could, for example, happen for a non-pipeline operation.) NOTE: the solutions for CVE-2023-28859 address data leakage across AsyncIO connections in general.

Original NVD text.

What to do

  1. Apply the vendor's security update for Redis-py.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI redis ≥ 4.5.0 < 4.5.4 4.5.4 pip install "redis>=4.5.4"
PyPI redis ≥ 4.2.0 < 4.4.4 4.4.4 pip install "redis>=4.4.4"
PyPI redis ≥ 4.2.0 < 4.4.4 4.4.4 pip install "redis>=4.4.4"
PyPI redis ≥ 4.5.0 < 4.5.4 4.5.4 pip install "redis>=4.5.4"

Per OSV / GitHub Advisories (GHSA-8fww-64cx-x8p5, PYSEC-2023-46). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
redisredis-py≥ 4.2.0 < 4.4.4
redisredis-py≥ 4.5.0 < 4.5.4

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.