CVE-2021-33026
The Flask-Caching extension through 1.10.1 for Flask relies on Pickle ...
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut NVD. Niedriger laut GHSA (mittel).
Beschreibung
The Flask-Caching extension through 1.10.1 for Flask relies on Pickle for serialization, which may lead to remote code execution or local privilege escalation. If an attacker gains access to cache storage (e.g., filesystem, Memcached, Redis, etc.), they can construct a crafted payload, poison the cache, and execute Python code. NOTE: a third party indicates that exploitation is extremely unlikely unless the machine is already compromised; in other cases, the attacker would be unable to write their payload to the cache and generate the required collision
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| debian 11 | flask-caching | kein Fix angegeben |
| debian 12 | flask-caching | kein Fix angegeben |
| debian 13 | flask-caching | kein Fix angegeben |
| debian 14 | flask-caching | kein Fix angegeben |
| echo | flask-caching | kein Fix angegeben |
| pip::GitHub Security Advisory pip | flask-caching | kein Fix angegeben |
| rapidfort debian 12 | flask-caching | kein Fix angegeben |
| rapidfort debian 13 | flask-caching | kein Fix angegeben |
Referenzen
- https://github.com/advisories/GHSA-656c-6cxf-hvcv
- https://github.com/pallets-eco/flask-caching/pull/209#issuecomment-1136397937
- https://github.com/pypa/advisory-database/tree/main/vulns/flask-caching/PYSEC-2021-13.yaml
- https://github.com/sh4nks/flask-caching
- https://github.com/sh4nks/flask-caching/pull/209
- https://nvd.nist.gov/vuln/detail/CVE-2021-33026