3.7

CVE-2023-28858: redis redis-py Off-by-one Error

CVSS: 3.7v3.1LowModified
AliasesGHSA-24wv-mv5m-xv4hPYSEC-2023-45UBUNTU-CVE-2023-28858
Published 26-03-2023Last modified 20-02-2025

Vulnerability summary

CVE-2023-28858 is a low (CVSS 3.7) Off-by-one Error vulnerability in redis redis-py. EPSS estimates a 1.02% chance of exploitation in the next 30 days, higher than 62.7% of scored vulnerabilities.

Overall risk
15/100
0100
Low · default modelHow is this calculated?
CVSS score
3.7/10
010
Low · v3.1 (NVD)
EPSS score
1.02%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 3 · Related 3

Timeline

  1. 26-03-2023
    PublishedVulnerability first disclosed.
  2. 20-02-2025
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 4 sources · 2 versions

EPSS trend

Probability

1.02%

Chance of exploitation in the next 30 days

Percentile

63%

Versus all other CVEs

30-day change

0.00 pp

From 1.02% on 19-09-2026

19-09-202619-10-2026
EPSS score
1.02%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • python-redisAll versions (No fix recorded) | < 5.2.1-1
PyPI1 product
  • redis≥ 4.4.0, < 4.4.3 | ≥ 4.2.0, < 4.3.6 | ≥ 4.5.0, < 4.5.3
Redis1 product
  • redis-py≥ 4.2.0, < 4.3.6 | ≥ 4.4.0, < 4.4.3 | ≥ 4.5.0, < 4.5.3
Ubuntu1 product
  • python-redisAll versions (No fix recorded)

4 vendors · 4 products

References

16 links
Show all 16 references