CVE-2021-41265: Improper Authentication in Flask-AppBuilder

CVE-2021-41265 · Severity: low · CVSS 3.1 · Published 2021-12-09

Flask-AppBuilder is a development framework built on top of Flask. Verions prior to 3.3.4 contain an improper authentication vulnerability in the REST API. The issue allows for a malicious actor with a carefully crafted request to successfully authenticate and gain access to existing protected REST API endpoints. This only affects non database authentication types and new REST API endpoints. Users should upgrade to Flask-AppBuilder 3.3.4 to receive a patch.

Technologies: flask-appbuilder (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2021-41265 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-41265 being exploited in the wild.
How severe is CVE-2021-41265?
Low severity, with a CVSS score of 3.1, published 9 December 2021.
Which products and versions are affected?
flask-appbuilder (PyPI) ECOSYSTEM:introduced=0,fixed=3.3.4, GIT:introduced=0,fixed=eba517aab121afa3f3f2edb011ec6bc4efd61fbc|ECOSYSTEM:introduced=0,fixed=3.3.4.
Is there a fix for CVE-2021-41265?
Yes. flask-appbuilder (PyPI): upgrade to 3.3.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-41265?
Check whether you run flask-appbuilder (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • flask-appbuilder (PyPI): upgrade to 3.3.4 or later
    pip install "flask-appbuilder>=3.3.4"

Affected products

  • flask-appbuilder (PyPI) ECOSYSTEM:introduced=0,fixed=3.3.4, GIT:introduced=0,fixed=eba517aab121afa3f3f2edb011ec6bc4efd61fbc|ECOSYSTEM:introduced=0,fixed=3.3.4

Identifiers

  • CVE-2021-41265
  • GHSA-m3rf-7m4w-r66q
  • PYSEC-2021-851

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.