GitHub Advisoryadvisory · PyPI
GHSA-8fww-64cx-x8p5 redis-py Race Condition due to incomplete fix
HIGH
Official page ↗
- Aliases
- CVE-2023-28859
- Ecosystem
- PyPI
- Packages
- redis
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-459
- Reviewed
- 2023-03-27
Affected packages
• PyPI redis: >= 4.5.0, < 4.5.4 → fixed in 4.5.4
• PyPI redis: >= 4.2.0, < 4.4.4 → fixed in 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.
Related
Alias · CVE (1)
- CVE-2023-28859 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… vulnerability
Weakness · CWE (1)
- CWE-459 Incomplete Cleanup weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-28859 advisory
- https://github.com/redis/redis-py/issues/2665 web
- https://github.com/redis/redis-py/pull/1899 web
- https://github.com/redis/redis-py/pull/2641 web
- https://github.com/redis/redis-py/pull/2666 web
- https://github.com/redis/redis-py/pull/2671 web
- https://github.com/redis/redis-py/commit/66a4d6b2a493dd3a20cc299ab5fef3c14baad965 web
- https://github.com/redis/redis-py/commit/b3c89acd0ffe8303649ad8207bc911b1d6a033eb web
- https://github.com/pypa/advisory-database/tree/main/vulns/redis/PYSEC-2023-46.yaml web
- https://github.com/redis/redis-py package
- https://github.com/redis/redis-py/releases/tag/v4.4.4 web
- https://github.com/redis/redis-py/releases/tag/v4.5.4 web