CVE-2022-21659 Observable Response Discrepancy in Flask-AppBuilder
Unauthenticated attackers can enumerate valid user accounts by analyzing server response timing during login attempts in Flask-AppBuilder.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-21659?
CVE-2022-21659 is a medium-severity vulnerability in n/a, published on 31 Jan 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Flask-AppBuilder is an application development framework, built on top of the Flask web framework. In affected versions there exists a user enumeration vulnerability. This vulnerability allows for a non authenticated user to enumerate existing accounts by timing the response time from the server when you are logging in. Users are advised to upgrade to version 3.4.4 as soon as possible. There are no known workarounds for this issue.
Weakness: CWE-203
Which versions are affected by CVE-2022-21659?
3 open source packages ship an affected version, including flask-appbuilder and Flask-AppBuilder. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
flask-appbuilder PyPI | All versions | 3.4.2 |
flask-appbuilder PyPI | All versions | 3.4.4 |
Flask-AppBuilder PyPI | All versions | 3.4.4 |
Products include Dpgaspar Flask-Appbuilder.
How do I fix CVE-2022-21659?
Upgrade flask-appbuilder to a fixed version for your release line: 3.4.2 or 3.4.4.
Is CVE-2022-21659 being exploited?
There is no known exploitation of CVE-2022-21659 in the wild and no public exploit code.
Other vulnerabilities in n/a
- CVE-2024-25128 Flask-AppBuilder incorrect authentication when using auth type OpenID
- CVE-2021-41265 Improper Authentication in Flask-AppBuilder
- CVE-2023-29005 No Rate Limiting on Login AUTH DB
- CVE-2021-32805 URL Redirection to Untrusted Site ('Open Redirect') in Flask-AppBuilder
- CVE-2025-58065 Flask App Builder has an Authentication Bypass vulnerability when using non AUTH_DB methods
Sources
Also known as GHSA-wfjw-w6pv-8p7f, PYSEC-2022-24.