{"id":"CVE-2023-28858","details":"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.","aliases":["GHSA-24wv-mv5m-xv4h","PYSEC-2023-45"],"modified":"2026-04-10T04:57:17.989693Z","published":"2023-03-26T19:15:06.780Z","related":["SUSE-SU-2024:1639-1","SUSE-SU-2024:1639-2","openSUSE-SU-2024:12873-1"],"references":[{"type":"ADVISORY","url":"https://openai.com/blog/march-20-chatgpt-outage"},{"type":"REPORT","url":"https://github.com/redis/redis-py/issues/2624"},{"type":"FIX","url":"https://github.com/redis/redis-py/compare/v4.4.2...v4.4.3"},{"type":"FIX","url":"https://github.com/redis/redis-py/compare/v4.5.2...v4.5.3"},{"type":"FIX","url":"https://github.com/redis/redis-py/pull/2641"},{"type":"FIX","url":"https://github.com/redis/redis-py/compare/v4.3.5...v4.3.6"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/redis/redis-py","events":[{"introduced":"ef4caf5b8bd55fc5c3ca7d994e2047e046f7e942"},{"fixed":"7b48b1bb34f97e4adf32c12a987ff593dc536aef"},{"introduced":"6fa6cfc9ada2ec1878484ba44a02fdc3c0c691d5"},{"fixed":"b3c89acd0ffe8303649ad8207bc911b1d6a033eb"},{"introduced":"5cb5712d283fa8fb300abc9d71a61c1a81de5643"},{"fixed":"66a4d6b2a493dd3a20cc299ab5fef3c14baad965"}],"database_specific":{"versions":[{"introduced":"4.2.0"},{"fixed":"4.3.6"},{"introduced":"4.4.0"},{"fixed":"4.4.3"},{"introduced":"4.5.0"},{"fixed":"4.5.3"}]}}],"versions":["v4.2.0","v4.2.1","v4.2.2","v4.3.0","v4.3.1","v4.3.2","v4.3.3","v4.3.4","v4.3.5","v4.4.0","v4.4.1","v4.4.2","v4.5.0","v4.5.1","v4.5.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-28858.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N"}]}