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

    Threat Intelligence

    EPSS
    0.05% (22nd 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 ID SNYK-PYTHON-FLASKAPPBUILDER-7897224
  • published 5 Sep 2024
  • disclosed 4 Sep 2024
  • credit Unknown

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
Expand this section

Snyk

Recommended
4.6 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Active
  • Confidentiality (VC)
    None
  • Integrity (VI)
    None
  • Availability (VA)
    None
  • Confidentiality (SC)
    Low
  • Integrity (SI)
    None
  • Availability (SA)
    None