Information Exposure Through Browser Caching Affecting flask-appbuilder package, versions [,4.5.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (23rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-FLASKAPPBUILDER-7897224
  • published5 Sept 2024
  • disclosed4 Sept 2024
  • creditUnknown

Introduced: 4 Sep 2024

CVE-2024-45314  (opens in a new tab)
CWE-525  (opens in a new tab)

How to fix?

Upgrade Flask-AppBuilder to version 4.5.1 or higher.

Overview

Flask-AppBuilder is a simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more.

Affected versions of this package are vulnerable to Information Exposure Through Browser Caching due to the default cache directives of the auth DB login form, allowing sensitive data to be stored locally by the browser. An attacker can access the sensitive data stored locally by exploiting shared computer environments.

Workaround

If upgrading is impossible, you need to 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"

CVSS Scores

version 4.0
version 3.1