{"schemaVersion":3,"id":"CVE-2023-28858","aliases":["GHSA-24wv-mv5m-xv4h","PYSEC-2023-45","UBUNTU-CVE-2023-28858","DEBIAN-CVE-2023-28858"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2023-03-26T00:00:00.000Z","modified":"2025-02-20T15:35:34.833Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":3.7,"severity":"low","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/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":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.01018,"percentile":0.62792,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.01018},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01018,"percentile":0.62792}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.01018,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.01018,"percentile":0.62792}]},"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-193","name":"Off-by-one Error","description":"A product calculates or uses an incorrect maximum or minimum value that is 1 more, or 1 less, than the correct value.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/193.html"}],"affected":[{"vendor":"debian","product":"python-redis","name":"python-redis","label":"python-redis","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-redis","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 5.2.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 5.2.1-1","eol":null,"hubHref":null},{"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.4.0, < 4.4.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.2.0, < 4.3.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.5.0, < 4.5.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.4.0, < 4.4.3 | ≥ 4.2.0, < 4.3.6 | ≥ 4.5.0, < 4.5.3","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.3.6","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.4.0, < 4.4.3","noFixRecorded":false,"fixedIn":null},{"text":"≥ 4.5.0, < 4.5.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 4.2.0, < 4.3.6 | ≥ 4.4.0, < 4.4.3 | ≥ 4.5.0, < 4.5.3","eol":null,"hubHref":"/vendor/redis/redis-py"}],"affectedCount":4,"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/2624","label":"github.com/redis/redis-py/issues/2624","hostname":"github.com","tags":["WEB","REPORT","Issue Tracking"]},{"url":"https://github.com/redis/redis-py/compare/v4.5.2...v4.5.3","label":"github.com/redis/redis-py/compare/v4.5.2...v4.5.3","hostname":"github.com","tags":["WEB","REPORT","Patch"]},{"url":"https://github.com/redis/redis-py/compare/v4.4.2...v4.4.3","label":"github.com/redis/redis-py/compare/v4.4.2...v4.4.3","hostname":"github.com","tags":["WEB","REPORT","Patch"]},{"url":"https://github.com/redis/redis-py/compare/v4.3.5...v4.3.6","label":"github.com/redis/redis-py/compare/v4.3.5...v4.3.6","hostname":"github.com","tags":["WEB","REPORT","Patch"]},{"url":"https://openai.com/blog/march-20-chatgpt-outage","label":"openai.com/blog/march-20-chatgpt-outage","hostname":"openai.com","tags":["WEB","ARTICLE","REPORT","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-28858","label":"nvd.nist.gov/vuln/detail/CVE-2023-28858","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/redis/redis-py/commit/d56baeb683fc1935cfa343fa2eeb0fa9bd955283","label":"github.com/redis/redis-py/commit/d56baeb683fc1935cfa343fa2eeb0fa9bd955283","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/redis/PYSEC-2023-45.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/redis/PYSEC-2023-45.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/redis/redis-py/releases/tag/v4.4.4","label":"github.com/redis/redis-py/releases/tag/v4.4.4","hostname":"github.com","tags":["WEB"]},{"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"]},{"url":"https://github.com/advisories/GHSA-24wv-mv5m-xv4h","label":"github.com/advisories/GHSA-24wv-mv5m-xv4h","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2023-28858","label":"ubuntu.com/security/CVE-2023-28858","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-28858","label":"www.cve.org/CVERecord?id=CVE-2023-28858","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2023-28858","label":"security-tracker.debian.org/tracker/CVE-2023-28858","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"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:35:34.833Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":15,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T14:49:22.836Z","stale":false,"partial":false}}