CVE-2021-29621
Python vulnerability analysis and mitigation

Overview

CVE-2021-29621 affects Flask-AppBuilder, a development framework built on top of Flask, versions 3.2.3 and earlier. The vulnerability was discovered and disclosed in May 2021, allowing unauthenticated users to perform user enumeration through database authentication by timing the server's response during login attempts (GitHub Advisory).

Technical details

The vulnerability is classified as an Observable Response Discrepancy (CWE-203) with a CVSS v3.1 Base Score of 5.3 (Medium). The attack vector is network-based (AV:N) with low attack complexity (AC:L), requiring no privileges (PR:N) or user interaction (UI:N). The scope is unchanged (S:U) with low confidentiality impact (C:L) and no impact on integrity (I:N) or availability (A:N) (NVD).

Impact

The vulnerability allows malicious actors to enumerate existing user accounts in the system by measuring the response time differences during login attempts. This information disclosure could be used as a stepping stone for further attacks, such as brute force attempts or targeted phishing campaigns (GitHub Advisory).

Mitigation and workarounds

Users are advised to upgrade to Flask-AppBuilder version 3.3.0 or higher, which contains the fix for this vulnerability. The fix was implemented through a patch that balances the response time for authentication attempts (GitHub Patch).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management