Improper Privilege Management Affecting flask-caching package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
1.13% (85th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Improper Privilege Management vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-FLASKCACHING-1295498
  • published19 May 2021
  • disclosed13 May 2021

Introduced: 13 May 2021

CVE-2021-33026  (opens in a new tab)
CWE-269  (opens in a new tab)

How to fix?

There is no fixed version for Debian:11 flask-caching.

NVD Description

Note: Versions mentioned in the description apply only to the upstream flask-caching package and not the flask-caching package as distributed by Debian. See How to fix? for Debian:11 relevant fixed versions and status.

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

CVSS Scores

version 3.1