SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2021-33026

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.

CRITICAL 9.8EPSS 7.01%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (7.01%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

Description

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 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
7.01% probability · 94th percentile
CISA KEV
Not listed
Weakness
CWE-502
Affected
flask-caching project/flask-caching
Source
cve@mitre.org

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.