ID CVE-2021-33026
Summary 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
References
Vulnerable Configurations
  • cpe:2.3:a:flask-caching_project:flask-caching:0.1:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.1:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.2:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.2:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.3:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.3:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.3.1:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.3.1:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.3.2:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.3.2:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.3.3:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.3.3:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.3.4:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.3.4:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.4.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.4.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.5.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.5.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.6.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.6.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.7.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.7.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.8.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.8.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.9.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.9.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.9.1:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.9.1:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.9.2:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.9.2:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.10.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.10.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.10.1:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.10.1:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.11:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.11:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.11.1:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.11.1:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.12:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.12:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:0.13:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:0.13:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.0.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.0.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.0.1:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.0.1:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.1.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.1.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.1.1:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.1.1:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.2.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.2.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.3.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.3.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.3.1:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.3.1:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.3.2:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.3.2:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.3.3:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.3.3:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.4.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.4.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.5.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.5.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.6.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.6.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.7.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.7.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.7.1:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.7.1:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.7.2:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.7.2:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.8.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.8.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.9.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.9.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.10.0:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.10.0:*:*:*:*:flask:*:*
  • cpe:2.3:a:flask-caching_project:flask-caching:1.10.1:*:*:*:*:flask:*:*
    cpe:2.3:a:flask-caching_project:flask-caching:1.10.1:*:*:*:*:flask:*:*
CVSS
Base: 7.5 (as of 04-08-2024 - 00:15)
Impact:
Exploitability:
CWE CWE-502
CAPEC
  • Object Injection
    An adversary attempts to exploit an application by injecting additional, malicious content during its processing of serialized objects. Developers leverage serialization in order to convert data or state into a static, binary format for saving to disk or transferring over a network. These objects are then deserialized when needed to recover the data/state. By injecting a malformed object into a vulnerable application, an adversary can potentially compromise the application by manipulating the deserialization process. This can result in a number of unwanted outcomes, including remote code execution.
Access
VectorComplexityAuthentication
NETWORK LOW NONE
Impact
ConfidentialityIntegrityAvailability
PARTIAL PARTIAL PARTIAL
cvss-vector via4 AV:N/AC:L/Au:N/C:P/I:P/A:P
Last major update 04-08-2024 - 00:15
Published 13-05-2021 - 23:15
Last modified 04-08-2024 - 00:15
Back to Top