CVE-2024-45314 Flask-AppBuilder login form allows browser to cache sensitive fields

Low 3.6 Published Updated

An attacker with access to a shared computer can retrieve sensitive login data cached by the browser due to missing cache-control headers in Flask-AppBuilder.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2024-45314?

CVE-2024-45314 is a low-severity vulnerability in dpgaspar Flask-AppBuilder, published on 4 Sep 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Flask-AppBuilder is an application development framework. Prior to version 4.5.1, the 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. Version 4.5.1 contains a patch for this issue. If upgrading is not possible, configure one's web server to send the specific HTTP headers for `/login` per the directions provided in the GitHub Security Advisory.

Weakness: CWE-525

Which versions are affected by CVE-2024-45314?

3 open source packages ship an affected version, including flask-appbuilder. It affects 1 product.

PackageAffectedFixed in
flask-appbuilder PyPIAll versions4.5.1
flask-appbuilder PyPIAll versions4.5.1
flask-appbuilder PyPIAll versions4.5.1

Products include Dpgaspar Flask-Appbuilder.

How do I fix CVE-2024-45314?

Upgrade flask-appbuilder to 4.5.1 or later.

Is CVE-2024-45314 being exploited?

There is no known exploitation of CVE-2024-45314 in the wild and no public exploit code.

Sources

Also known as ECHO-4cf8-1d7b-5c06, GHSA-fw5r-6m3x-rh7p, PYSEC-2026-1382.

Is CVE-2024-45314 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free