CVE-2021-33026
Last modified
CVE-2021-33026 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. 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. EPSS estimates a 7.29% chance of exploitation in the next 30 days.
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
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Flask-Caching Project | Flask-Caching | <= 1.10.1 |
References
- https://github.com/pallets-eco/flask-caching/pull/209#issuecomment-1136397937Issue Tracking, Patch, Third Party Advisory
- https://github.com/sh4nks/flask-caching/pull/209Patch, Third Party Advisory
- https://github.com/pallets-eco/flask-caching/pull/209#issuecomment-1136397937Issue Tracking, Patch, Third Party Advisory
- https://github.com/sh4nks/flask-caching/pull/209Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-33026?
How severe is CVE-2021-33026?
How do I fix CVE-2021-33026?
Are you affected by CVE-2021-33026?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
