SCA: security update for flask (GHSA-4grg-w6v8-c28g)

low Tenable Self-Hosted Container Security Plugin ID 425966

Description

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

- Flask is a web server gateway interface (WSGI) web application framework. In Flask 3.1.0, the way fallback
key configuration was handled resulted in the last fallback key being used for signing, rather than the
current signing key. Signing is provided by the `itsdangerous` library. A list of keys can be passed, and
it expects the last (top) key in the list to be the most recent key, and uses that for signing. Flask was
incorrectly constructing that list in reverse, passing the signing key first. Sites that have opted-in to
use key rotation by setting `SECRET_KEY_FALLBACKS` care likely to unexpectedly be signing their sessions
with stale keys, and their transition to fresher keys will be impeded. Sessions are still signed, so this
would not cause any sort of data integrity loss. Version 3.1.1 contains a patch for the issue.
(CVE-2025-47278)

See Also

https://github.com/advisories/GHSA-4grg-w6v8-c28g

Plugin Details

Severity: Low

ID: 425966

Version: Revision 1.13

Type: Local

Family: SCA Checks

Published: 5/14/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Medium

Score: 4.9

Percentile: 57.84

Vendor

Vendor Severity: Low

CVSS v2

Risk Factor: High

Base Score: 7.5

Temporal Score: 5.5

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

CVSS Score Source: CVE-2025-47278

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.5

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

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

CVSS v4

Risk Factor: Low

Base Score: 1.8

Threat Score: 0.2

Threat Vector: CVSS:4.0/E:U

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/13/2025

Vulnerability Publication Date: 5/13/2025

Reference Information

CVE: CVE-2025-47278

cwe: CWE-683