Upstream information

CVE-2025-47278 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having low severity.

CVSS v3 Scores
  SUSE
Base Score 1.9
Vector CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:L
Attack Vector Local
Attack Complexity High
Privileges Required High
User Interaction None
Scope Unchanged
Confidentiality Impact None
Integrity Impact None
Availability Impact Low
CVSSv3 Version 3.1
CVSS v4 Scores
  CNA (GitHub) SUSE
Base Score 1.8 1.8
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Attack Vector Local Local
Attack Complexity Low Low
Attack Requirements Present Present
Privileges Required High High
User Interaction None None
Vulnerable System Confidentiality Impact None None
Vulnerable System Integrity Impact None None
Vulnerable System Availability Impact Low Low
Subsequent System Confidentiality Impact None None
Subsequent System Integrity Impact None None
Subsequent System Availability Impact None None
CVSSv4 Version 4.0 4.0
SUSE Bugzilla entry: 1243163 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
openSUSE Tumbleweed
  • python311-Flask >= 3.1.1-1.1
  • python311-Flask-doc >= 3.1.1-1.1
  • python312-Flask >= 3.1.1-1.1
  • python312-Flask-doc >= 3.1.1-1.1
  • python313-Flask >= 3.1.1-1.1
  • python313-Flask-doc >= 3.1.1-1.1
Patchnames:
openSUSE-Tumbleweed-2025-15152


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise Desktop 15 SP6 python-Flask Not affected
SUSE Linux Enterprise Desktop 15 SP7 python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 12 python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP6 python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP7 python-Flask Not affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 python-Flask Not affected
SUSE Linux Enterprise Module for Python 3 15 SP6 python-Flask Not affected
SUSE Linux Enterprise Module for Python 3 15 SP7 python-Flask Not affected
SUSE Linux Enterprise Server 15 SP6 python-Flask Not affected
SUSE Linux Enterprise Server 15 SP7 python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP6 python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP7 python-Flask Not affected
SUSE Manager Proxy 4.3 python-Flask Not affected
SUSE Manager Retail Branch Server 4.3 python-Flask Not affected
SUSE Manager Server 4.3 python-Flask Not affected
openSUSE Leap 15.6 python-Flask Not affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP3 python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4 python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5 python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS python-Flask Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP3 python-Flask Not affected
SUSE Linux Enterprise Module for Public Cloud 12 python-Flask Not affected
SUSE Linux Enterprise Module for Python 3 15 SP4 python-Flask Not affected
SUSE Linux Enterprise Module for Python 3 15 SP5 python-Flask Not affected
SUSE Linux Enterprise Server 12 SP5 python-Flask Not affected
SUSE Linux Enterprise Server 15 SP3 python-Flask Not affected
SUSE Linux Enterprise Server 15 SP3-LTSS python-Flask Not affected
SUSE Linux Enterprise Server 15 SP4 python-Flask Not affected
SUSE Linux Enterprise Server 15 SP4-LTSS python-Flask Not affected
SUSE Linux Enterprise Server 15 SP5 python-Flask Not affected
SUSE Linux Enterprise Server 15 SP5-LTSS python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 python-Flask Not affected
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.0 python-Flask Not affected
SUSE Enterprise Storage 6 python-Flask Not affected
SUSE Enterprise Storage 7 python-Flask Not affected
SUSE Enterprise Storage 7.1 python-Flask Not affected
SUSE Linux Enterprise Desktop 15 python-Flask Not affected
SUSE Linux Enterprise Desktop 15 SP1 python-Flask Not affected
SUSE Linux Enterprise Desktop 15 SP2 python-Flask Not affected
SUSE Linux Enterprise Desktop 15 SP3 python-Flask Not affected
SUSE Linux Enterprise Desktop 15 SP4 python-Flask Not affected
SUSE Linux Enterprise Desktop 15 SP5 python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2 python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15-ESPOS python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15-LTSS python-Flask Not affected
SUSE Linux Enterprise Module for Basesystem 15 python-Flask Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP1 python-Flask Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 python-Flask Not affected
SUSE Linux Enterprise Module for Package Hub 15 python-Flask Not affected
SUSE Linux Enterprise Module for Package Hub 15 SP1 python-Flask Not affected
SUSE Linux Enterprise Module for Package Hub 15 SP2 python-Flask Not affected
SUSE Linux Enterprise Module for Package Hub 15 SP3 python-Flask Not affected
SUSE Linux Enterprise Module for Package Hub 15 SP4 python-Flask Not affected
SUSE Linux Enterprise Real Time 15 SP2 python-Flask Not affected
SUSE Linux Enterprise Real Time 15 SP3 python-Flask Not affected
SUSE Linux Enterprise Server 12 python-Flask Not affected
SUSE Linux Enterprise Server 12 SP3 python-Flask Not affected
SUSE Linux Enterprise Server 12 SP4 python-Flask Not affected
SUSE Linux Enterprise Server 15 python-Flask Not affected
SUSE Linux Enterprise Server 15 SP1 python-Flask Not affected
SUSE Linux Enterprise Server 15 SP1-BCL python-Flask Not affected
SUSE Linux Enterprise Server 15 SP1-LTSS python-Flask Not affected
SUSE Linux Enterprise Server 15 SP2 python-Flask Not affected
SUSE Linux Enterprise Server 15 SP2-BCL python-Flask Not affected
SUSE Linux Enterprise Server 15 SP2-LTSS python-Flask Not affected
SUSE Linux Enterprise Server 15 SP3-BCL python-Flask Not affected
SUSE Linux Enterprise Server 15-LTSS python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 12 python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP3 python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP4 python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 15 python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP2 python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP5 python-Flask Not affected
SUSE Manager Proxy 4.0 python-Flask Not affected
SUSE Manager Proxy 4.1 python-Flask Not affected
SUSE Manager Proxy 4.2 python-Flask Not affected
SUSE Manager Retail Branch Server 4.0 python-Flask Not affected
SUSE Manager Retail Branch Server 4.1 python-Flask Not affected
SUSE Manager Retail Branch Server 4.2 python-Flask Not affected
SUSE Manager Server 4.0 python-Flask Not affected
SUSE Manager Server 4.1 python-Flask Not affected
SUSE Manager Server 4.2 python-Flask Not affected
openSUSE Leap 15.3 python-Flask Not affected
openSUSE Leap 15.4 python-Flask Not affected
openSUSE Leap 15.5 python-Flask Not affected


SUSE Timeline for this CVE

CVE page created: Tue May 13 20:00:51 2025
CVE page last modified: Sun Jun 22 17:24:36 2025