FreeBSD VuXML: Documenting security issues in FreeBSD and the FreeBSD Ports Collection

py-flask-caching -- remote code execution or local privilege escalation vulnerabilities

Affected packages
py310-flask-caching <= 2.0.2
py311-flask-caching <= 2.0.2
py37-flask-caching <= 2.0.2
py38-flask-caching <= 2.0.2
py39-flask-caching <= 2.0.2


VuXML ID 692a5fd5-bb25-4df4-8a0e-eb91581f2531
Discovery 2021-05-13
Entry 2023-08-31

subnix reports:

The Flask-Caching extension through 2.0.2 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.


CVE Name CVE-2021-33026