CVE-2021-33026

CVSS V2 High 7.5 CVSS V3 Critical 9.8
Description
** DISPUTED ** 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.
Overview
  • CVE ID
  • CVE-2021-33026
  • Assigner
  • cve@mitre.org
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2021-05-13T23:15:07
  • Last Modified Date
  • 2022-10-28T19:03:24
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:flask-caching_project:flask-caching:*:*:*:*:*:flask:*:* 1 OR 1.10.1
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:P/I:P/A:P
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • PARTIAL
  • Integrity Impact
  • PARTIAL
  • Availability Impact
  • PARTIAL
  • Base Score
  • 7.5
  • Severity
  • HIGH
  • Exploitability Score
  • 10
  • Impact Score
  • 6.4
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 9.8
  • Base Severity
  • CRITICAL
  • Exploitability Score
  • 3.9
  • Impact Score
  • 5.9
References
Reference URL Reference Tags
https://github.com/pallets-eco/flask-caching/pull/209#issuecomment-1136397937 Issue Tracking Patch Third Party Advisory
https://github.com/sh4nks/flask-caching/pull/209 Patch Third Party Advisory
History
Created Old Value New Value Data Type Notes
2022-05-08 06:19:46 Added to TrackCVE
2022-12-05 02:16:00 2021-05-13T23:15Z 2021-05-13T23:15:07 CVE Published Date updated
2022-12-05 02:16:00 2022-10-28T19:03:24 CVE Modified Date updated
2022-12-05 02:16:00 Analyzed Vulnerability Status updated
2022-12-05 02:16:04 References updated