Moderate severityNVD Advisory· Published May 13, 2021· Updated Aug 3, 2024
CVE-2021-33026
CVE-2021-33026
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
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
Flask-CachingPyPI | <= 1.10.1 | — |
Affected products
2- Flask/Flask-Cachingdescription
Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-656c-6cxf-hvcvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-33026ghsaADVISORY
- github.com/pallets-eco/flask-caching/pull/209ghsax_refsource_MISCWEB
- github.com/pypa/advisory-database/tree/main/vulns/flask-caching/PYSEC-2021-13.yamlghsaWEB
- github.com/sh4nks/flask-caching/pull/209ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.