CONTENTUM.COMA specialist. A plan. A result.

Vulnerabilities · 2021

CVE-2021-33026
Flask-caching Project Flask-caching vulnerability

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

High priority: this vulnerability is rated critical and can be attacked over the network without a login.

Affected products

Flask-caching. The exact versions are in the references.

What to do now

  • Check your exposureFind out whether Flask-caching Project Flask-caching runs anywhere in your environment, including systems of suppliers.
  • UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
  • Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.

References

Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.