CVE-2023-28858

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.

Published: 2023-03-26 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-28858 is rated Moderate Risk (43.1/100): CVSS Low severity, with medium exploitation likelihood (EPSS 1.44%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-28858

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-09 1.49% 1.44% -0.05%
2 2026-01-20 1.40% 1.49% +0.09%
3 2025-11-21 1.40%

Full EPSS history (23 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-28858

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.7 3.1 LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
2.2 1.4 [email protected]

Weakness enumeration for CVE-2023-28858

GitHub Security Advisory for CVE-2023-28858

GHSA-24wv-mv5m-xv4h · Severity: medium · Ecosystem: pip — redis-py Race Condition vulnerability

OS Trackers for CVE-2023-28858

vendor priority summary link
alpine low CVE-2023-28858: 1 source package rows (py3-redis); 6 state rows across 6 repos (3.18-community, 3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 6, open 0. https://security.alpinelinux.org/vuln/CVE-2023-28858
debian unimportant CVE-2023-28858 unimportant priority: Debian including 1 source packages (python-redis), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. https://security-tracker.debian.org/tracker/CVE-2023-28858
redhat medium https://access.redhat.com/security/cve/CVE-2023-28858
suse medium CVE-2023-28858 severity moderate: SUSE including 126 source package names (0.1.6-1.2:python311-blinker-1.6.2-150400.12.7.4, 0.1.6-1.2:python311-oauthlib-3.2.2-150400.12.7.4, …), 3614 product×package rows across 131 product lines (Container bci/python, Container containers/lmcache-lmstack-router, … (131 product lines)): Fixed 3603, Known Not Affected 11. https://www.suse.com/security/cve/CVE-2023-28858/
ubuntu medium CVE-2023-28858 medium priority: Ubuntu including 1 source packages (python-redis), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 6, not-affected 4, needed 2, needs-triage 1. https://ubuntu.com/security/CVE-2023-28858

Affected software / configurations for CVE-2023-28858

Vendor Product Version Raw CPE
redis redis-py >= 4.2.0, < 4.3.6 cpe:2.3:a:redis:redis-py:*:*:*:*:*:*:*:*
redis redis-py >= 4.4.0, < 4.4.3 cpe:2.3:a:redis:redis-py:*:*:*:*:*:*:*:*
redis redis-py >= 4.5.0, < 4.5.3 cpe:2.3:a:redis:redis-py:*:*:*:*:*:*:*:*

References for CVE-2023-28858

cvelogic Threat Intelligence