CVE-2021-32805: Flask-AppBuilder Open Redirect vulnerability

CVE-2021-32805 · Severity: low · CVSS 3.1 · Published 2021-09-08

Flask-AppBuilder is an application development framework, built on top of Flask. In affected versions if using Flask-AppBuilder OAuth, an attacker can share a carefully crafted URL with a trusted domain for an application built with Flask-AppBuilder, this URL can redirect a user to a malicious site. This is an open redirect vulnerability. To resolve this issue upgrade to Flask-AppBuilder 3.2.2 or above. If upgrading is infeasible users may filter HTTP traffic containing `?next={next-site}` where the `next-site` domain is different from the application you are protecting as a workaround.

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

Quick answers

Is CVE-2021-32805 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2021-32805 being exploited in the wild.
How severe is CVE-2021-32805?
Low severity, with a CVSS score of 3.1, published 8 September 2021.
Which products and versions are affected?
flask-appbuilder (PyPI) ECOSYSTEM:introduced=0,fixed=3.3.2, GIT:introduced=0,fixed=6af28521589599b1dbafd6313256229ee9a4fa74|ECOSYSTEM:introduced=0,fixed=3.3.2.
Is there a fix for CVE-2021-32805?
Yes. flask-appbuilder (PyPI): upgrade to 3.3.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2021-32805?
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.2 or later
    pip install "flask-appbuilder>=3.3.2"

Affected products

  • flask-appbuilder (PyPI) ECOSYSTEM:introduced=0,fixed=3.3.2, GIT:introduced=0,fixed=6af28521589599b1dbafd6313256229ee9a4fa74|ECOSYSTEM:introduced=0,fixed=3.3.2

Identifiers

  • CVE-2021-32805
  • GHSA-624f-cqvr-3qw4
  • PYSEC-2021-359

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