3.7

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

Modified
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.01% chance of exploitation in the next 30 days, higher than 64.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
3.7/10
010
Low · v3.1 (NVD)
EPSS score
1.01%
0%100%
Low · -0.01 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware 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

6 scores · 5 sources · 2 versions

EPSS trend

Probability

1.01%

Chance of exploitation in the next 30 days

Percentile

64%

Versus all other CVEs

30-day change

Decrease -0.01 pp

From 1.02% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Alpine1 product
  • py3-redis< 4.5.4-r0
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)

5 vendors · 5 products

References

17 links
Show all 17 references