Skip to content
LowVulnerability

CVE-2023-28858: redis-py async connection leaks response data to unrelated requests

Identifier
CVE-2023-28858
Published
Record updated
View JSON
Affected
  • redis >= 4.4.0, < 4.4.3, fixed in 4.4.3, released March 22, 2023, 4 days before disclosure
  • redis >= 4.5.0, < 4.5.3, fixed in 4.5.3, released March 22, 2023, 4 days before disclosure
  • redis >= 4.2.0, < 4.3.6, fixed in 4.3.6, released March 22, 2023, 4 days before disclosure
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.0%

Summary

redis-py before 4.5.3 leaves a connection open after an async Redis command is canceled at an inopportune time. The connection can then send response data to the client of an unrelated request, in an off-by-one manner (CWE-193). NVD notes that 4.3.6, 4.4.3, and 4.5.3 were released to change the pipeline behavior, and points to CVE-2023-28859 for data leakage across AsyncIO connections in general.

Mitigation

Fixed in 4.3.6, 4.4.3, and 4.5.3 (the source notes these releases changed the behavior for pipeline operations).