{"id":"UBUNTU-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.","modified":"2026-05-20T16:07:26.568133183Z","published":"2023-03-26T19:15:00Z","upstream":["CVE-2023-28858"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-28858"},{"type":"REPORT","url":"https://github.com/redis/redis-py/compare/v4.3.5...v4.3.6"},{"type":"REPORT","url":"https://github.com/redis/redis-py/pull/2641"},{"type":"REPORT","url":"https://openai.com/blog/march-20-chatgpt-outage"},{"type":"REPORT","url":"https://github.com/redis/redis-py/compare/v4.4.2...v4.4.3"},{"type":"REPORT","url":"https://github.com/redis/redis-py/compare/v4.5.2...v4.5.3"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2023-28858"}],"affected":[{"package":{"name":"python-redis","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/python-redis?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.4-3"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-redis","binary_version":"4.3.4-3"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28858.json"}},{"package":{"name":"python-redis","ecosystem":"Ubuntu:25.10","purl":"pkg:deb/ubuntu/python-redis?arch=source&distro=questing"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.3.4-4","5.2.1-1","6.1.0-1","6.1.0-2"],"ecosystem_specific":{"binaries":[{"binary_version":"6.1.0-2","binary_name":"python3-redis"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-CVE-2023-28858.json"}},{"package":{"name":"python-redis","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/python-redis?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.1.0-2","6.4.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"python3-redis","binary_version":"6.4.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2023/UBUNTU-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"},{"type":"Ubuntu","score":"medium"}]}