cve.bz

CVE-2023-28859 redis redis-py: Incomplete Cleanup

6.5 mediumEPSS 1.0%Fix available

Medium (6.5) in redis redis-py. EPSS 1.0% estimated probability of exploitation activity in the next 30 days. Fixed in redis 4.4.4, 4.5.4.

On this page
redis-py before 4.4.4 and 4.5.x before 4.5.4 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. (This could, for example, happen for a non-pipeline operation.) NOTE: the solutions for CVE-2023-28859 address data leakage across AsyncIO connections in general.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/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-459 Incomplete Cleanup
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-28859 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-28859?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-28859?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-28859 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.4.4
redis:redis-pyfrom 4.5.0 before 4.5.4

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8fww-64cx-x8p5PyPIredis>=4.5.0 <4.5.44.5.4
GHSA-8fww-64cx-x8p5PyPIredis>=4.2.0 <4.4.44.4.4
PYSEC-2023-46PyPIredis>=4.2.0 <4.4.4
>=4.5.0 <4.5.4
4.4.4, 4.5.4

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu24.04:LTS, 25.10, 26.04:LTS and 1 morepython-redisno fix listedUBUNTU-CVE-2023-28859
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-28859

From the distributions' data via OSV.dev: 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: 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-28859.

References

Check your stackJSON