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.
References
| Link | Resource |
|---|---|
| https://github.com/sh4nks/flask-caching/pull/209 | Patch Third Party Advisory |
Configurations
Information
Published : 2021-05-13 23:15
Updated : 2022-05-03 16:04
NVD link : CVE-2021-33026
Mitre link : CVE-2021-33026
JSON object : View
Products Affected
flask-caching_project
- flask-caching
CWE
CWE-502
Deserialization of Untrusted Data
