flask-caching@2.4.0

Adds caching support to Flask applications.

  • latest version

    2.4.0

  • first published

    9 years ago

  • latest version published

    15 days ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the flask-caching package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • L
    Deserialization of Untrusted Data

    Flask-Caching is an Adds caching support to your Flask application

    Affected versions of this package are vulnerable to Deserialization of Untrusted Data. The Flask-Caching extension 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

    Exploiting this vulnerability is possible if the attacker:

    1. Can write arbitrary values to the cache

    2. Can generate a cache key that will collide with a value being read by the application

    3. Can cause the application to read a maliciously-injected value

    How to fix Deserialization of Untrusted Data?

    There is no fixed version for Flask-Caching.

    [0,)