Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-692A5FD5-BB25-4DF4-8A0E-EB91581F2531 (CVE-2021-33026): py-flask-caching -- remote code execution or local privilege escalation vulnerabilities

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-692A5FD5-BB25-4DF4-8A0E-EB91581F2531 (CVE-2021-33026): py-flask-caching -- remote code execution or local privilege escalation vulnerabilities

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
05/13/2021
Created
09/05/2023
Added
09/01/2023
Modified
09/01/2023

Description

** DISPUTED ** 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.

Solution(s)

  • freebsd-upgrade-package-py310-flask-caching
  • freebsd-upgrade-package-py311-flask-caching
  • freebsd-upgrade-package-py37-flask-caching
  • freebsd-upgrade-package-py38-flask-caching
  • freebsd-upgrade-package-py39-flask-caching

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;