SCA: security update for Flask-Security-Too (GHSA-hh7m-rx4f-4vpv)

high Tenable Self-Hosted Container Security Plugin ID 415752

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- The Python "Flask-Security-Too" package is used for adding security features to your Flask application. It
is an is a independently maintained version of Flask-Security based on the 3.0.0 version of Flask-
Security. In Flask-Security-Too from version 3.3.0 and before version 3.4.5, the /login and /change
endpoints can return the authenticated user's authentication token in response to a GET request. Since GET
requests aren't protected with a CSRF token, this could lead to a malicious 3rd party site acquiring the
authentication token. Version 3.4.5 and version 4.0.0 are patched. As a workaround, if you aren't using
authentication tokens - you can set the SECURITY_TOKEN_MAX_AGE to "0" (seconds) which should make the
token unusable. (CVE-2021-21241)

See Also

https://github.com/advisories/GHSA-hh7m-rx4f-4vpv

Plugin Details

Severity: High

ID: 415752

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3.3

Percentile: 50.87

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:N/A:N

CVSS Score Source: CVE-2021-21241

CVSS v3

Risk Factor: High

Base Score: 7.4

Temporal Score: 6.4

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.3

Threat Score: 5.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/11/2021

Vulnerability Publication Date: 1/11/2021

Reference Information

CVE: CVE-2021-21241

cwe: CWE-352