CVE-2022-21659 Observable Response Discrepancy in Flask-AppBuilder

Medium 5.3 Published Updated

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.

PackageAffectedFixed in
flask-appbuilder PyPIAll versions3.4.2
flask-appbuilder PyPIAll versions3.4.4
Flask-AppBuilder PyPIAll versions3.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.

Sources

Also known as GHSA-wfjw-w6pv-8p7f, PYSEC-2022-24.

Is CVE-2022-21659 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free