CVE-2021-33026
The Flask-Caching extension through 1.10.1 for Flask relies on Pickle ...
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon NVD. Plus basse selon GHSA (moyenne).
Description
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
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| debian 11 | flask-caching | pas de correctif indiqué |
| debian 12 | flask-caching | pas de correctif indiqué |
| debian 13 | flask-caching | pas de correctif indiqué |
| debian 14 | flask-caching | pas de correctif indiqué |
| echo | flask-caching | pas de correctif indiqué |
| pip::GitHub Security Advisory pip | flask-caching | pas de correctif indiqué |
| rapidfort debian 12 | flask-caching | pas de correctif indiqué |
| rapidfort debian 13 | flask-caching | pas de correctif indiqué |
Références
- 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