Vulnerability · Published Sep 8, 2021 · Assigned by GitHub_M

CVE-2021-32805URL Redirection to Untrusted Site ('Open Redirect') in Flask-AppBuilder

High 7.2

In plain English

A high-severity open redirect in Flask-AppBuilder from dpgaspar. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.2High
Exploit odds (30 days)0.7%top 46.6% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIflask-appbuilder3.3.2GHSA-624f-cqvr-3qw4
PyPIflask-appbuilder3.3.2PYSEC-2021-359

Affected products (as reported)

VendorProductVersions
dpgaspar Flask-AppBuilder < 3.3.2

Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N

References