VDB
Sign up
MEDIUM6.1

PYSEC-2021-359

Quick fix

PYSEC-2021-359 — flask-appbuilder: upgrade to the fixed version with the command below.

pip install --upgrade 'flask-appbuilder>=6af28521589599b1dbafd6313256229ee9a4fa74'

Details

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/flask-appbuilder
Introduced in: 0Fixed in: 6af28521589599b1dbafd6313256229ee9a4fa74
Fixpip install --upgrade 'flask-appbuilder>=6af28521589599b1dbafd6313256229ee9a4fa74'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/flask-appbuilder"]}'