GitHub Advisoryadvisory · PyPI

GHSA-24wv-mv5m-xv4h redis-py Race Condition vulnerability

MEDIUM Published 2023-03-26 Modified 2024-10-25 Official page ↗
Aliases
CVE-2023-28858
Ecosystem
PyPI
Packages
redis
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Weaknesses
CWE-193
Reviewed
2023-03-27

Affected packages

• PyPI redis: >= 4.4.0, < 4.4.3 → fixed in 4.4.3 • PyPI redis: >= 4.5.0, < 4.5.3 → fixed in 4.5.3 • PyPI redis: >= 4.2.0, < 4.3.6 → fixed in 4.3.6

Description

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, but are believed to be incomplete. CVE-2023-28859 has been assigned the issues caused by the incomplete fixes.

Related

Alias · CVE (1)

  • CVE-2023-28858 redis-py before 4.5.3 leaves a connection open after canceling an async Redis command at an inopportune time, and can send response data to… vulnerability

Weakness · CWE (1)

  • CWE-193 Off-by-one Error weakness

References