{"schemaVersion":3,"id":"CVE-2023-28859","aliases":["GHSA-8fww-64cx-x8p5","PYSEC-2023-46","UBUNTU-CVE-2023-28859"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2023-03-26T00:00:00.000Z","modified":"2025-02-20T15:34:03.848Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":7.1,"severity":"high","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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":7.2,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01034,"percentile":0.63291,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.01034},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01034,"percentile":0.63291}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01034,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01034,"percentile":0.63291}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-459","name":"Incomplete Cleanup","description":"The product does not properly \"clean up\" and remove temporary or supporting resources after they have been used.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/459.html"}],"affected":[{"vendor":"ubuntu","product":"python-redis","name":"python-redis","label":"python-redis","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-redis","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"PyPI","product":"redis","name":"redis","label":"redis","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/redis","purlType":"pypi","versions":[{"text":"≥ 4.2.0, < 4.4.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.5.0, < 4.5.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.2.0, < 4.4.4 | ≥ 4.5.0, < 4.5.4","eol":null,"hubHref":null},{"vendor":"redis","product":"redis-py","name":"redis-py","label":"redis-py","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 4.2.0, < 4.4.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.5.0, < 4.5.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.2.0, < 4.4.4 | ≥ 4.5.0, < 4.5.4","eol":null,"hubHref":"/vendor/redis/redis-py"}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/redis/redis-py/pull/2641","label":"github.com/redis/redis-py/pull/2641","hostname":"github.com","tags":["WEB","REPORT","Issue Tracking","Patch"]},{"url":"https://github.com/redis/redis-py/issues/2665","label":"github.com/redis/redis-py/issues/2665","hostname":"github.com","tags":["WEB","REPORT","Issue Tracking","Patch","Vendor Advisory"]},{"url":"https://github.com/redis/redis-py/releases/tag/v4.4.4","label":"github.com/redis/redis-py/releases/tag/v4.4.4","hostname":"github.com","tags":["WEB","Release Notes"]},{"url":"https://github.com/redis/redis-py/releases/tag/v4.5.4","label":"github.com/redis/redis-py/releases/tag/v4.5.4","hostname":"github.com","tags":["WEB","Release Notes"]},{"url":"https://github.com/redis/redis-py/pull/2666","label":"github.com/redis/redis-py/pull/2666","hostname":"github.com","tags":["WEB","Release Notes"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28859","label":"nvd.nist.gov/vuln/detail/CVE-2023-28859","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/redis/redis-py/pull/1899","label":"github.com/redis/redis-py/pull/1899","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/redis/redis-py/pull/2671","label":"github.com/redis/redis-py/pull/2671","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/redis/redis-py/commit/66a4d6b2a493dd3a20cc299ab5fef3c14baad965","label":"github.com/redis/redis-py/commit/66a4d6b2a493dd3a20cc299ab5fef3c14baad965","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/redis/redis-py/commit/b3c89acd0ffe8303649ad8207bc911b1d6a033eb","label":"github.com/redis/redis-py/commit/b3c89acd0ffe8303649ad8207bc911b1d6a033eb","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/redis/PYSEC-2023-46.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/redis/PYSEC-2023-46.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/redis/redis-py","label":"github.com/redis/redis-py","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-8fww-64cx-x8p5","label":"github.com/advisories/GHSA-8fww-64cx-x8p5","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-28859","label":"ubuntu.com/security/CVE-2023-28859","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-28859","label":"www.cve.org/CVERecord?id=CVE-2023-28859","hostname":"www.cve.org","tags":["REPORT"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:12036-1","SUSE-SU-2024:1639-1","SUSE-SU-2024:1639-2"],"duplicates":[],"related":["OPENSUSE-SU-2026:12036-1","SUSE-SU-2024:1639-1","SUSE-SU-2024:1639-2"]},"timeline":[{"kind":"published","date":"2023-03-26T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-02-20T15:34:03.848Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":26,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T17:02:16.843Z","stale":false,"partial":false}}