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
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2024-08-03T23:42:19.075Z

Reserved: 2021-05-13T00:00:00

Link: CVE-2021-33026

cve-icon Vulnrichment

Updated: 2024-08-03T23:42:19.075Z

cve-icon NVD

Status : Modified

Published: 2021-05-13T23:15:07.367

Modified: 2024-11-21T06:08:09.140

Link: CVE-2021-33026

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.