Skip to content

redis-py Race Condition due to incomplete fix

Moderate severity GitHub Reviewed Published Mar 26, 2023 to the GitHub Advisory Database • Updated Sep 7, 2023

Package

pip redis (pip)

Affected versions

>= 4.5.0, < 4.5.4
>= 4.2.0, < 4.4.4

Patched versions

4.5.4
4.4.4

Description

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.

References

Published by the National Vulnerability Database Mar 26, 2023
Published to the GitHub Advisory Database Mar 26, 2023
Reviewed Mar 27, 2023
Last updated Sep 7, 2023

Severity

Moderate
6.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

EPSS score

0.096%
(41st percentile)

Weaknesses

CVE ID

CVE-2023-28859

GHSA ID

GHSA-8fww-64cx-x8p5

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.