CVE Vulnerabilities

CVE-2023-28858

Off-by-one Error

Published: Mar 26, 2023 | Modified: May 17, 2023
CVSS 3.x
3.7
LOW
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

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 the client of an unrelated request in an off-by-one manner. NOTE: this CVE Record was initially created in response to reports about ChatGPT, and 4.3.6, 4.4.3, and 4.5.3 were released (changing the behavior for pipeline operations); however, please see CVE-2023-28859 about addressing data leakage across AsyncIO connections in general.

Weakness

A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.

Affected Software

Name Vendor Start Version End Version
Redis-py Redis 4.2.0 (including) 4.3.6 (excluding)
Redis-py Redis 4.4.0 (including) 4.4.3 (excluding)
Redis-py Redis 4.5.0 (including) 4.5.3 (excluding)

Potential Mitigations

References