# CVE-2023-28858

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2023-03-26 · Modified: 2025-02-20
- Aliases: GHSA-24wv-mv5m-xv4h, PYSEC-2023-45, UBUNTU-CVE-2023-28858, DEBIAN-CVE-2023-28858, ALPINE-CVE-2023-28858
- Record: https://cvemate.com/vulnerability/CVE-2023-28858 · JSON: https://cvemate.com/vulnerability/CVE-2023-28858/json

## Description

```text
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.
```

## Signals

- CVSS: 3.7 low (v3.1, NVD) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 1.009%, percentile 64.235%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine py3-redis (Alpine Linux): \< 4.5.4-r0
- debian python-redis (Debian): All versions (No fix recorded) \| \< 5.2.1-1
- ubuntu python-redis (Ubuntu): All versions (No fix recorded)
- PyPI redis (PyPI): ≥ 4.4.0, \< 4.4.3 \| ≥ 4.2.0, \< 4.3.6 \| ≥ 4.5.0, \< 4.5.3
- redis redis-py: ≥ 4.2.0, \< 4.3.6 \| ≥ 4.4.0, \< 4.4.3 \| ≥ 4.5.0, \< 4.5.3

## References

- <https://github.com/redis/redis-py/pull/2641>
- <https://github.com/redis/redis-py/issues/2624>
- <https://github.com/redis/redis-py/compare/v4.5.2...v4.5.3>
- <https://github.com/redis/redis-py/compare/v4.4.2...v4.4.3>
- <https://github.com/redis/redis-py/compare/v4.3.5...v4.3.6>
- <https://openai.com/blog/march-20-chatgpt-outage>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-28858>
- <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>
- <https://github.com/advisories/GHSA-24wv-mv5m-xv4h>
- <https://ubuntu.com/security/CVE-2023-28858>
- <https://www.cve.org/CVERecord?id=CVE-2023-28858>
- <https://security-tracker.debian.org/tracker/CVE-2023-28858>
- <https://security.alpinelinux.org/vuln/CVE-2023-28858>

---

Data as of 2026-12-05T07:00:42.496Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
