hoch6.5
CVE-2023-28859
redis-py Race Condition due to incomplete fix
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| pip | redis | >= 4.5.0, < 4.5.4 | 4.5.4 |
Betroffene Produkte · Redis
| Produkt | Betroffene Versionen |
|---|---|
| Redis-py | ab 4.2.0 vor 4.4.4 ab 4.5.0 vor 4.5.4 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-Advisory
- https://github.com/redis/redis-py/issues/2665
- https://github.com/redis/redis-py/pull/2641
- https://github.com/redis/redis-py/pull/2666
- https://github.com/redis/redis-py/releases/tag/v4.4.4
- https://github.com/redis/redis-py/releases/tag/v4.5.4
- https://github.com/advisories/GHSA-8fww-64cx-x8p5
- https://nvd.nist.gov/vuln/detail/CVE-2023-28859
- https://github.com/redis/redis-py/pull/2671
- https://github.com/pypa/advisory-database/tree/main/vulns/redis/PYSEC-2023-46.yaml
- https://github.com/redis/redis-py/pull/1899
- https://github.com/redis/redis-py/commit/66a4d6b2a493dd3a20cc299ab5fef3c14baad965
- https://github.com/redis/redis-py/commit/b3c89acd0ffe8303649ad8207bc911b1d6a033eb