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?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-33020Philips Vue PACS versions 12.2.x.x and prior uses a cryptogr…7.5
- CVE-2021-33021xArrow SCADA versions 7.2 and prior is vulnerable to cross-s…6.1
- CVE-2021-33022Philips Vue PACS versions 12.2.x.x and prior transmits sensi…7.5
- CVE-2021-33023Advantech WebAccess versions 9.02 and prior are vulnerable t…9.8
- CVE-2021-33024Philips Vue PACS versions 12.2.x.x and prior transmits or st…7.5
- CVE-2021-33025xArrow SCADA versions 7.2 and prior permits unvalidated regi…7.8
- CVE-2021-33027Sylabs Singularity Enterprise through 1.6.2 has Insufficient…9.8
- CVE-2021-33031In LabCup before <v2_next_18022, it is possible to use the s…3.1
- CVE-2021-33032A Remote Code Execution (RCE) vulnerability in the WebUI com…10
- CVE-2021-33033The Linux kernel before 5.11.14 has a use-after-free in cips…7.8
- CVE-2021-33034In the Linux kernel before 5.12.4, net/bluetooth/hci_event.c…7.8
- CVE-2021-33035Apache OpenOffice opens dBase/DBF documents and shows the co…7.8
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
