CVE-2022-21659: User Enumeration Vulnerability in Flask-AppBuilder

flask-appbuilder Updated 02 Oct 2025

Summary

31/01/2022
Yes i
Moderate
5.3

CVE-2022-21659: Flask-AppBuilder is an application development framework, built on top of the Flask web framework. Affects flask-appbuilder versions < 3.4.2. Fixed in 3.4.2. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Flask-AppBuilder is an application development framework built on top of the Flask web framework. It provides a set of tools and utilities to simplify the process of building web applications. The framework is widely used in the Python ecosystem and offers features such as authentication, authorization, and user management. However, in certain versions of Flask-AppBuilder, there exists a user enumeration vulnerability that can be exploited by non-authenticated users. This vulnerability allows an attacker to enumerate existing accounts by timing the response time from the server during the login process.

Vulnerability Detail

The user enumeration vulnerability in Flask-AppBuilder arises due to a timing side-channel attack. By carefully measuring the response time from the server during login attempts, an attacker can determine whether a particular username exists in the system. This information can be leveraged to launch further attacks, such as brute-forcing passwords for known usernames. The vulnerability poses a risk to the confidentiality and security of user accounts within affected versions of Flask-AppBuilder.

How To Fix

Minimum fixed version

3.4.2

This is the first release that contains the fix.

pip install --upgrade "flask-appbuilder==3.4.2"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The user enumeration vulnerability in Flask-AppBuilder can lead to the disclosure of user account information and subsequent attacks. It is crucial for users to upgrade to version 3.4.4 to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for flask-appbuilder →

Share this vulnerability

FAQ

Flask-AppBuilder is an application development framework built on top of Flask, providing tools and utilities for building web applications.

A user enumeration vulnerability allows an attacker to determine the existence of user accounts by exploiting timing differences in the server's response.

The vulnerability in Flask-AppBuilder is a timing side-channel attack, where an attacker measures the response time from the server during login attempts to determine if a username exists.

The user enumeration vulnerability in Flask-AppBuilder can be leveraged by attackers to gather information about existing user accounts, which can then be used for further attacks such as password brute-forcing.

To fix the vulnerability, it is recommended to upgrade to version 3.4.4 of Flask-AppBuilder, which includes a patch for the timing side-channel attack. The upgrade can be done by running 'pip install --upgrade flask-appbuilder==3.4.4'.

Related vulnerabilities

Recent vulnerabilities recorded for flask-appbuilder.

How To Fix

Minimum fixed version

3.4.2

This is the first release that contains the fix.

pip install --upgrade "flask-appbuilder==3.4.2"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback