PYSEC-2023-94
Quick fix
PYSEC-2023-94 — flask-appbuilder: upgrade to the fixed version with the command below.
pip install --upgrade 'flask-appbuilder>=ae25ad4c87a9051ebe4a4e8f02aee73232642626'Details
Flask-AppBuilder is an application development framework, built on top of Flask. Prior to version 4.3.2, an authenticated malicious actor with Admin privileges, could by adding a special character on the add, edit User forms trigger a database error, this error is surfaced back to this actor on the UI. On certain database engines this error can include the entire user row including the pbkdf2:sha256 hashed password. This vulnerability has been fixed in version 4.3.2.
Are you affected?
Enter the version of the package you're using.
Affected packages
0Fixed in: ae25ad4c87a9051ebe4a4e8f02aee73232642626pip install --upgrade 'flask-appbuilder>=ae25ad4c87a9051ebe4a4e8f02aee73232642626'References
- https://github.com/dpgaspar/Flask-AppBuilder/commit/ae25ad4c87a9051ebe4a4e8f02aee73232642626[FIX]
- https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v4.3.2[WEB]
- https://github.com/dpgaspar/Flask-AppBuilder/pull/2045[FIX]
- https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-jhpr-j7cq-3jp3[ADVISORY]
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"]}'