{"id":"GHSA-8fww-64cx-x8p5","summary":"redis-py Race Condition due to incomplete fix","details":"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.","aliases":["CVE-2023-28859","PYSEC-2023-46"],"modified":"2024-10-25T21:53:20.660854Z","published":"2023-03-26T21:30:23Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2023-03-27T21:31:52Z","nvd_published_at":"2023-03-26T19:15:00Z","cwe_ids":["CWE-459"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28859"},{"type":"WEB","url":"https://github.com/redis/redis-py/issues/2665"},{"type":"WEB","url":"https://github.com/redis/redis-py/pull/1899"},{"type":"WEB","url":"https://github.com/redis/redis-py/pull/2641"},{"type":"WEB","url":"https://github.com/redis/redis-py/pull/2666"},{"type":"WEB","url":"https://github.com/redis/redis-py/pull/2671"},{"type":"WEB","url":"https://github.com/redis/redis-py/commit/66a4d6b2a493dd3a20cc299ab5fef3c14baad965"},{"type":"WEB","url":"https://github.com/redis/redis-py/commit/b3c89acd0ffe8303649ad8207bc911b1d6a033eb"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/redis/PYSEC-2023-46.yaml"},{"type":"PACKAGE","url":"https://github.com/redis/redis-py"},{"type":"WEB","url":"https://github.com/redis/redis-py/releases/tag/v4.4.4"},{"type":"WEB","url":"https://github.com/redis/redis-py/releases/tag/v4.5.4"}],"affected":[{"package":{"name":"redis","ecosystem":"PyPI","purl":"pkg:pypi/redis"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.5.0"},{"fixed":"4.5.4"}]}],"versions":["4.5.0","4.5.1","4.5.2","4.5.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-8fww-64cx-x8p5/GHSA-8fww-64cx-x8p5.json"}},{"package":{"name":"redis","ecosystem":"PyPI","purl":"pkg:pypi/redis"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.2.0"},{"fixed":"4.4.4"}]}],"versions":["4.2.0","4.2.1","4.2.2","4.3.0","4.3.1","4.3.2","4.3.3","4.3.4","4.3.5","4.3.6","4.4.0","4.4.0rc1","4.4.0rc2","4.4.0rc3","4.4.0rc4","4.4.1","4.4.2","4.4.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/03/GHSA-8fww-64cx-x8p5/GHSA-8fww-64cx-x8p5.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V4","score":"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"}]}