{"id":"CVE-2023-28859","aliases":["CVE-2023-28859","GHSA-8fww-64cx-x8p5","PYSEC-2023-46"],"related":[],"kind":"vulnerability","state":"published","title":"redis-py Race Condition due to incomplete fix","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"redis-py through 4.5.3 and 4.4.3 leaves a connection open after canceling an async Redis command at an inopportune time (in the case of a non-pipeline operation), and can send response data to the client of an unrelated request. NOTE: this issue exists because of an incomplete fix for CVE-2023-28858.","format":"markdown","source":"ghsa"},{"lang":"en","text":"redis-py through 4.5.3 leaves a connection open after canceling an async Redis command at an inopportune time (in the case of a non-pipeline operation), and can send response data to the client of an unrelated request. NOTE: this issue exists because of an incomplete fix for CVE-2023-28858.","format":"markdown","source":"pysec"}],"published":"2023-03-26T00:00:00.000Z","modified":"2026-06-17T05:48:55.987Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-459"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.5.0","status":"affected","fixed":"4.5.4"}],"ecosystem":"PyPI","package":"redis","purl":"pkg:pypi/redis","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"4.2.0","status":"affected","fixed":"4.4.4"}],"ecosystem":"PyPI","package":"redis","purl":"pkg:pypi/redis","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.2.0","fixed":"4.4.4"},{"status":"affected","introduced":"4.5.0","fixed":"4.5.4"}],"vendor":"redis","product":"redis-py","cpe":"cpe:2.3:a:redis:redis-py:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"4.2.0","status":"affected","fixed":"4.4.4"},{"type":"ecosystem","introduced":"4.5.0","status":"affected","fixed":"4.5.4"}],"ecosystem":"PyPI","package":"redis","purl":"pkg:pypi/redis","source":"pysec"}],"references":[{"url":"https://github.com/redis/redis-py/pull/2641","tags":["issue-tracking","patch","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/redis/redis-py/issues/2665","tags":["issue-tracking","patch","report","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/redis/redis-py/releases/tag/v4.4.4","tags":["release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/redis/redis-py/releases/tag/v4.5.4","tags":["release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/redis/redis-py/pull/2666","tags":["release-notes","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28859","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/redis/redis-py/pull/1899","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/redis/redis-py/pull/2671","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/redis/redis-py/commit/66a4d6b2a493dd3a20cc299ab5fef3c14baad965","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/redis/redis-py/commit/b3c89acd0ffe8303649ad8207bc911b1d6a033eb","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/redis/PYSEC-2023-46.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/redis/redis-py","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-8fww-64cx-x8p5","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-02-20T15:33:41.900Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-28859","url":"https://www.cve.org/CVERecord?id=CVE-2023-28859","licence":"CVE Terms of Use","modified":"2025-02-20T15:34:03.848Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8fww-64cx-x8p5","url":"https://github.com/advisories/GHSA-8fww-64cx-x8p5","licence":"CC-BY-4.0","modified":"2024-10-25T21:53:20.660Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-28859","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28859","licence":"Public domain","modified":"2026-06-17T05:48:55.987Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2023-46","url":"https://osv.dev/vulnerability/PYSEC-2023-46","licence":"CC-BY-4.0","modified":"2026-06-10T17:02:35.124Z"}],"updatedAt":"2026-11-25T22:58:22.687Z","epss":{"score":0.01026,"percentile":0.64541,"date":"2026-12-01T12:00:22.000Z"}}