medium3.6
CVE-2024-45314
Flask-AppBuilder's login form allows browser to cache sensitive fields
Impact
### Impact Auth DB login form default cache directives allows browser to locally store sensitive data. This can be an issue on environments using shared computer resources. ### Patches Upgrade flask-appbuilder to version 4.5.1 ### Workarounds If upgrading is not possible configure your web server to send the following HTTP headers for /login: "Cache-Control": "no-store, no-cache, must-revalidate, max-age=0" "Pragma": "no-cache" "Expires": "0"
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | flask-appbuilder | < 4.5.1 | 4.5.1 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Dpgaspar | Flask-Appbuilder | before 4.5.1 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/dpgaspar/Flask-AppBuilder/commit/3030e881d2e44f4021764e18e489fe940a9b3636
- https://github.com/dpgaspar/Flask-AppBuilder/security/advisories/GHSA-fw5r-6m3x-rh7p
- https://github.com/advisories/GHSA-fw5r-6m3x-rh7p
- https://nvd.nist.gov/vuln/detail/CVE-2024-45314