redis-py before 4.5.3 leaves a connection open after canceling an async Redis command at…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- Low · None · None
- Fix status
- Partial Red Hat: 3 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | redis (PyPI) | 4.4.0 to before 4.4.3 | 4.4.3 | Patch available | GHSA-24wv-mv5m-xv4h |
| — | redis (PyPI) | 4.5.0 to before 4.5.3 | 4.5.3 | Patch available | GHSA-24wv-mv5m-xv4h |
| — | redis (PyPI) | 4.2.0 to before 4.3.6 | 4.3.6 | Patch available | GHSA-24wv-mv5m-xv4h |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- redis (PyPI) Vendor— Affected 4.4.0 to before 4.4.3 Fixed in 4.4.3 Patch available GHSA-24wv-mv5m-xv4h
- redis (PyPI) Vendor— Affected 4.5.0 to before 4.5.3 Fixed in 4.5.3 Patch available GHSA-24wv-mv5m-xv4h
- redis (PyPI) Vendor— Affected 4.2.0 to before 4.3.6 Fixed in 4.3.6 Patch available GHSA-24wv-mv5m-xv4h
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:redis:redis-py:*:*:*:*:*:*:*:* | 4.2.0 to before 4.3.6; 4.4.0 to before 4.4.3; 4.5.0 to before 4.5.3 | Vulnerable | Redis |
- cpe:2.3:a:redis:redis-py:*:*:*:*:*:*:*:* Versions 4.2.0 to before 4.3.6; 4.4.0 to before 4.4.3; 4.5.0 to before 4.5.3 Vulnerable ·Redis
Remediation
- Fix · GHSA-24wv-mv5m-xv4h redis (PyPI) Fixed in 4.4.3 Advisory →
- Fix · GHSA-24wv-mv5m-xv4h redis (PyPI) Fixed in 4.5.3 Advisory →
- Fix · GHSA-24wv-mv5m-xv4h redis (PyPI) Fixed in 4.3.6 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 1.2 | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Out of support scope |
| Red Hat Quay 3 | Affected | No fix yet |
Timeline
- 2026-10-02 Threatist record created from CVE-2023-28858
- 2026-10-03 Alias added: GHSA-24wv-mv5m-xv4h
References
Patch 4
Advisory 2
Other 6
- https://github.com/redis/redis-py/issues/2624
- https://github.com/redis/redis-py/commit/d56baeb683fc1935cfa343fa2eeb0fa9bd955283
- https://github.com/pypa/advisory-database/tree/main/vulns/redis/PYSEC-2023-45.yaml
- https://github.com/redis/redis-py
- https://github.com/redis/redis-py/releases/tag/v4.4.4
- https://github.com/redis/redis-py/releases/tag/v4.5.4
More Redis-py vulnerabilities
- TI-2023-13365 redis-py before 4.4.4 and 4.5.x before 4.5.4 leaves a connection open after canceling an… CVSS 3.1MEDIUM 6.5
Sources
- CVE-2023-28858 · CVE Program
- CVE-2023-28858 · NVD
- FIRST EPSS
- GHSA-24wv-mv5m-xv4h · GitHub Advisory Database · CC BY 4.0
- CVE-2023-28858 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences