CVE-2023-29005: Flask AppBuilder Flask-AppBuilder Has No Rate Limiting Vulnerability

HIGH
Advisory Identifier: GHSA-9hcr-9hcv-x6pv
CVSS 7.5
CWE-307
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2023-29005
GHSA Identifier GHSA-9hcr-9hcv-x6pv
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-307: Improper Restriction of Excessive Authentication Attempts
Affected Product Flask AppBuilder
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (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.

Flask-AppBuilder fixed: 4.3.0
pip install Flask-AppBuilder>=4.3.0
Verify Direct and Transitive Dependencies

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

### Impact Lack of rate limiting will allow an attacker to brute-force user credentials. ### Patches Ability 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. ### Workarounds Implement rate limiting using a reverse proxy or other strategies.

CVE-2023-29005 Affected Flask AppBuilder Versions

1 component(s)
Fixed Versions:
4.3.0
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?
CVE-2023-29005 is a security vulnerability in Flask AppBuilder involving Flask-AppBuilder Has No Rate Limiting on Login AUTH DB under CWE-307: Improper Restriction of Excessive Authentication Attempts.
Which Flask AppBuilder versions are affected?
Affected versions include releases prior to 4.3.0 across affected packages: Flask-AppBuilder.
What version fixes CVE-2023-29005?
Upgrading to 4.3.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Flask-AppBuilder affected?
Yes, Flask-AppBuilder is affected in releases prior to 4.3.0. Upgrade your dependency to 4.3.0 or later.
What is the CVSS score of CVE-2023-29005?
CVE-2023-29005 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2023-29005?
CVE-2023-29005 is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts (The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.).
How can I check PyPI dependencies for CVE-2023-29005?
Run the dependency tree command: 'pip show Flask-AppBuilder'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}