GHSA-9hcr-9hcv-x6pv
Flask-AppBuilder Has No Rate Limiting on Login AUTH DB
Packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| PyPI | Flask-AppBuilder | < 4.3.0 | 4.3.0 |
Details
As written in the advisory (Markdown source, shown as plain text).
### 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.
References
External links from the advisory. They lead to third-party sites.
- https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-9hcr-9hcv-x6pv
- https://nvd.nist.gov/vuln/detail/CVE-2023-29005
- https://github.com/dpgaspar/Flask-AppBuilder/pull/1976
- https://flask-limiter.readthedocs.io/en/stable/configuration.html
- https://github.com/dpgaspar/Flask-AppBuilder
- https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v4.3.0