{"id":"CVE-2023-28859","published":"2023-03-26T00:00:00Z","modified":"2025-02-20T15:34:03Z","title":"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…","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01026,"percentile":0.64398,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/redis/redis-py/pull/2641","tags":[]},{"url":"https://github.com/redis/redis-py/issues/2665","tags":[]},{"url":"https://github.com/redis/redis-py/releases/tag/v4.4.4","tags":[]},{"url":"https://github.com/redis/redis-py/releases/tag/v4.5.4","tags":[]},{"url":"https://github.com/redis/redis-py/pull/2666","tags":[]}],"priority":{"score":12.9,"factors":[{"name":"EPSS percentile","points":12.88}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-02-20T15:33:41.900049Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"redis","vulnerableRanges":[">=4.5.0, <4.5.4",">=4.2.0, <4.4.4"],"patched":["4.5.4","4.4.4"],"from":["GHSA-8fww-64cx-x8p5","PYSEC-2023-46"],"provenance":"source"}],"summary":{"text":"The redis-py Python client library, in versions before 4.4.4 and in the 4.5.x line before 4.5.4, fails to close a connection after an asynchronous Redis command is cancelled at an unlucky moment. The stale connection can then carry response data from that command into the reply of an unrelated later request, for example a non-pipeline operation, so an attacker who can trigger such cancellations and read responses on the affected client could receive another request's data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:58:42Z"},"euvd":{"id":"EUVD-2023-0223","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-redis-cve-2023-28858","parents":[{"from":"CVE-2023-28858","to":"CVE-2023-28859","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:redis","fromFixed":"4.5.3","toFixed":"4.5.4","daysApart":0},{"kind":"same-code","provenance":"machine","files":["redis/asyncio/client.py"],"commits":["https://github.com/redis/redis-py/commit/d56baeb683fc1935cfa343fa2eeb0fa9bd955283","https://github.com/redis/redis-py/commit/66a4d6b2a493dd3a20cc299ab5fef3c14baad965","https://github.com/redis/redis-py/commit/b3c89acd0ffe8303649ad8207bc911b1d6a033eb"],"basis":"rarely changed file"},{"kind":"similar","provenance":"machine","score":0.71,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2023-28858","published":"2023-03-26","fixed":"4.5.3","kev":false},{"cve":"CVE-2023-28859","published":"2023-03-26","fixed":"4.5.4","kev":false}],"package":"PyPI:redis"}}