CVE-2023-29005: Flask AppBuilder Flask-AppBuilder Has No Rate Limiting Vulnerability
HIGHCVE-2023-29005 is a HIGH (CVSS 7.5) flask-appbuilder has no rate limiting vulnerability (CWE-307: Improper Restriction of Excessive Authentication Attempts) affecting Flask AppBuilder libraries in the PyPI ecosystem. The issue involves flask-appbuilder has no rate limiting on login auth db. Remediation is available by upgrading affected packages to version 4.3.0.
CVE-2023-29005 at a Glance
Security Impact
CVSS: 7.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2023-29005
To remediate this vulnerability, upgrade all affected Flask AppBuilder dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install Flask-AppBuilder>=4.3.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show Flask-AppBuilder
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2023-29005, inspect your installed packages using pip:
pip show Flask-AppBuilder
Analyze the terminal output to locate any version of Flask AppBuilder in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.3.0), your application is affected.
Note: The pip show Flask-AppBuilder command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts, where the product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame. In Flask AppBuilder, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2023-29005 Affected Flask AppBuilder Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Flask-AppBuilder
|
PyPI |
< 4.3.0
|
4.3.0
|
References
Frequently Asked Questions
What is CVE-2023-29005?
Which Flask AppBuilder versions are affected?
What version fixes CVE-2023-29005?
Is Flask-AppBuilder affected?
What is the CVSS score of CVE-2023-29005?
What CWE is associated with CVE-2023-29005?
How can I check PyPI dependencies for CVE-2023-29005?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-9hcr-9hcv-x6pv",
"modified" : "2025-03-07T19:09:34Z",
"published" : "2023-04-10T16:37:40Z",
"aliases" : [ "CVE-2023-29005" ],
"summary" : "Flask-AppBuilder Has No Rate Limiting on Login AUTH DB",
"details" : "### Impact\nLack of rate limiting will allow an attacker to brute-force user credentials.\n\n### Patches\nAbility to enable rate limiting on Flask-AppBuilder >= 4.3.0. Use `AUTH_RATE_LIMITED = True` and `RATELIMIT_ENABLED = True` set the limit itself by using `AUTH_RATE_LIMIT`. Will apply only to database authentication.\n\n### Workarounds\nImplement rate limiting using a reverse proxy or other strategies.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "Flask-AppBuilder"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "4.3.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-9hcr-9hcv-x6pv"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-29005"
}, {
"type" : "WEB",
"url" : "https://github.com/dpgaspar/Flask-AppBuilder/pull/1976"
}, {
"type" : "WEB",
"url" : "https://flask-limiter.readthedocs.io/en/stable/configuration.html"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/dpgaspar/Flask-AppBuilder"
}, {
"type" : "WEB",
"url" : "https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v4.3.0"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-307" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2023-04-10T16:37:40Z",
"nvd_published_at" : "2023-04-10T21:15:00Z"
}
}