cve.bz

CVE-2023-28858 redis redis-py: Off-by-one Error

3.7 lowEPSS 1.0%Fix available

Low (3.7) in redis redis-py. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in redis 4.3.6, 4.4.3, 4.5.3.

On this page
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.

Severity

CVSS 3.1

3.7 low
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
EPSS
1.0% (unchanged from 1.0% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 64th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-02-20. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-193 Off-by-one Error
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-28858 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-28858?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-28858?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-28858 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
redis:redis-pyfrom 4.2.0 before 4.3.6
redis:redis-pyfrom 4.4.0 before 4.4.3
redis:redis-pyfrom 4.5.0 before 4.5.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-24wv-mv5m-xv4hPyPIredis>=4.4.0 <4.4.34.4.3
GHSA-24wv-mv5m-xv4hPyPIredis>=4.5.0 <4.5.34.5.3
GHSA-24wv-mv5m-xv4hPyPIredis>=4.2.0 <4.3.64.3.6
PYSEC-2023-45PyPIredis>=4.2.0 <4.3.6
>=4.4.0 <4.4.3
>=4.5.0 <4.5.3
4.3.6, 4.4.3, 4.5.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12python-redisno fix listedDEBIAN-CVE-2023-28858
Debian13, 14python-redis5.2.1-1DEBIAN-CVE-2023-28858
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morepython-redisno fix listedUBUNTU-CVE-2023-28858
SUSELinux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Public Cloud 15 SP6python-asgiref3.6.0-150400.9.7.3SUSE-SU-2024:1639-2
SUSELinux Enterprise Module for Package Hub 15 SP6, Linux Enterprise Module for Python 3 15 SP6python-wrapt1.15.0-150400.12.7.1SUSE-SU-2024:1639-2
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5python-Fabric3.2.2-150400.10.4.1SUSE-SU-2024:1639-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5python-PyGithub1.57-150400.10.4.4SUSE-SU-2024:1639-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5python-antlr4-python3-runtime4.13.1-150400.10.4.1SUSE-SU-2024:1639-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5python-asgiref3.6.0-150400.9.7.3SUSE-SU-2024:1639-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5python-avro1.11.3-150400.10.4.1SUSE-SU-2024:1639-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5python-docker7.0.0-150400.8.4.4SUSE-SU-2024:1639-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5python-fakeredis2.21.0-150400.9.3.4SUSE-SU-2024:1639-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5python-fixedint0.2.0-150400.9.3.1SUSE-SU-2024:1639-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5python-httplib20.22.0-150400.10.4.1SUSE-SU-2024:1639-1
SUSELinux Enterprise Module for Public Cloud 15 SP4, Linux Enterprise Module for Public Cloud 15 SP5python-httpretty1.1.4-150400.11.4.1SUSE-SU-2024:1639-1
125 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.5python-sure2.0.1-150400.12.4.4SUSE-SU-2024:1639-1 SUSE-SU-2024:1639-2
openSUSELeap 15.5python-xmltodict0.13.0-150400.12.4.1SUSE-SU-2024:1639-1 SUSE-SU-2024:1639-2
openSUSELeap 15.5, Leap 15.6python-Automat, python-incremental22.10.0-150400.3.7.2SUSE-SU-2024:1639-1 SUSE-SU-2024:1639-2
openSUSELeap 15.5, Leap 15.6python-Deprecated1.2.14-150400.10.7.2SUSE-SU-2024:1639-1 SUSE-SU-2024:1639-2
openSUSELeap 15.5, Leap 15.6python-Fabric3.2.2-150400.10.4.1SUSE-SU-2024:1639-1 SUSE-SU-2024:1639-2
openSUSELeap 15.5, Leap 15.6python-PyGithub1.57-150400.10.4.4SUSE-SU-2024:1639-1 SUSE-SU-2024:1639-2
openSUSELeap 15.5, Leap 15.6python-PyJWT2.8.0-150400.8.7.2SUSE-SU-2024:1639-1 SUSE-SU-2024:1639-2
openSUSELeap 15.5, Leap 15.6python-Pygments2.15.1-150400.7.7.4SUSE-SU-2024:1639-1 SUSE-SU-2024:1639-2
openSUSELeap 15.5, Leap 15.6python-Twisted22.10.0-150400.5.17.4SUSE-SU-2024:1639-1 SUSE-SU-2024:1639-2
openSUSELeap 15.5, Leap 15.6python-aiohttp3.9.3-150400.10.18.4SUSE-SU-2024:1639-1 SUSE-SU-2024:1639-2
openSUSELeap 15.5, Leap 15.6python-aiosignal1.3.1-150400.9.7.2SUSE-SU-2024:1639-1 SUSE-SU-2024:1639-2
openSUSELeap 15.5, Leap 15.6python-antlr4-python3-runtime4.13.1-150400.10.4.1SUSE-SU-2024:1639-1 SUSE-SU-2024:1639-2
63 more for openSUSE in the JSON and on openSUSE's page.
Alpinev3.18, v3.19, v3.20 and 4 morepy3-redis4.5.4-r0ALPINE-CVE-2023-28858

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Ansible Automation Platform 1.2ansible-towerWill not fix
Red Hat OpenStack Platform 13 (Queens)redisOut of support scope
Red Hat Quay 3quay/quay-rhel8Affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-28858.

References

Check your stackJSON