dpgaspar/flask-appbuilder · Security
Flask-AppBuilder's login form allows browser to cache sensitive fields
- GHSA ID
- GHSA-fw5r-6m3x-rh7p
- CVE ID
- CVE-2024-45314
- Severity
- medium
- Published
- Updated
- CVSS
- 3.6 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
- CVSS v3
- 3.6 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
- CVSS v4
- 4.8 · CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N
Description
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"
CWEs
- CWE-525 · Use of Web Browser Cache Containing Sensitive Information