GitHub Advisoryadvisory · PyPI
GHSA-9hcr-9hcv-x6pv Flask-AppBuilder Has No Rate Limiting on Login AUTH DB
HIGH
Official page ↗
- Aliases
- CVE-2023-29005
- Ecosystem
- PyPI
- Packages
- Flask-AppBuilder
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-307
- Reviewed
- 2023-04-10
Affected packages
• PyPI Flask-AppBuilder: < 4.3.0 → fixed in 4.3.0
Description
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.
Related
Alias · CVE (1)
- CVE-2023-29005 Flask-AppBuilder versions before 4.3.0 lack rate limiting which can allow an attacker to brute-force user credentials. vulnerability
Weakness · CWE (1)
- CWE-307 Improper Restriction of Excessive Authentication Attempts weakness
References
- https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-9hcr-9hcv-x6pv web
- https://nvd.nist.gov/vuln/detail/CVE-2023-29005 advisory
- https://github.com/dpgaspar/Flask-AppBuilder/pull/1976 web
- https://flask-limiter.readthedocs.io/en/stable/configuration.html web
- https://github.com/dpgaspar/Flask-AppBuilder package
- https://github.com/dpgaspar/Flask-AppBuilder/releases/tag/v4.3.0 web