CVE Vulnerabilities

CVE-2023-28858

Off-by-one Error

Published: Mar 26, 2023 | Modified: Nov 21, 2024
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
4.3 MODERATE
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

NameVendorStart VersionEnd Version
Redis-pyRedis4.2.0 (including)4.3.6 (excluding)
Redis-pyRedis4.4.0 (including)4.4.3 (excluding)
Redis-pyRedis4.5.0 (including)4.5.3 (excluding)
Python-redisUbuntubionic*
Python-redisUbuntudevel*
Python-redisUbuntuesm-apps/noble*
Python-redisUbuntukinetic*
Python-redisUbuntulunar*
Python-redisUbuntumantic*
Python-redisUbuntunoble*
Python-redisUbuntuoracular*
Python-redisUbuntuplucky*
Python-redisUbuntuquesting*
Python-redisUbuntutrusty*
Python-redisUbuntuxenial*

Potential Mitigations

References