CVE-2023-28859
MEDIUM 6.5CVSS 3.1redis-py Race Condition due to incomplete fix
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.
- Published
- 26 Mar 2023
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-459
- Also known as
- GHSA-8fww-64cx-x8p5PYSEC-2023-46
- Sources
- NVDJSONOSV GHSA-8fww-64cx-x8p5JSONOSV PYSEC-2023-46JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | redis | redis-pycpe:2.3:a:redis:redis-py:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.4.4 | 4.4.4 |
| NVD | redis | redis-pycpe:2.3:a:redis:redis-py:*:*:*:*:*:*:*:* |
>= 4.5.0, < 4.5.4 | 4.5.4 |
| OSV | PyPI | redis | >= 4.5.0, < 4.5.4 | 4.5.4 |
| OSV | PyPI | redis | >= 4.2.0, < 4.4.4 | 4.4.4 |
| OSV | PyPI | redis | >= 4.2.0, < 4.4.4; >= 4.5.0, < 4.5.4 | 4.4.4, 4.5.4 |
References
- https://github.com/redis/redis-py/issues/2665 · Issue Tracking, Patch, Vendor Advisory, WEB, REPORT
- https://github.com/redis/redis-py/pull/2641 · Issue Tracking, Patch, WEB
- https://github.com/redis/redis-py/pull/2666 · Release Notes, WEB
- https://github.com/redis/redis-py/releases/tag/v4.4.4 · Release Notes, WEB
- https://github.com/redis/redis-py/releases/tag/v4.5.4 · Release Notes, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-28859 · ADVISORY
- https://github.com/redis/redis-py/pull/1899 · WEB
- https://github.com/redis/redis-py/pull/2671 · WEB
- https://github.com/redis/redis-py/commit/66a4d6b2a493dd3a20cc299ab5fef3c14baad965 · WEB
- https://github.com/redis/redis-py/commit/b3c89acd0ffe8303649ad8207bc911b1d6a033eb · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/redis/PYSEC-2023-46.yaml · WEB
- https://github.com/redis/redis-py · PACKAGE
- https://github.com/advisories/GHSA-8fww-64cx-x8p5 · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 26 Mar 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Mar 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Mar 2023)