Upstream information

CVE-2023-30861 at MITRE

Description

Flask is a lightweight WSGI web application framework. When all of the following conditions are met, a response containing data intended for one client may be cached and subsequently sent by the proxy to other clients. If the proxy also caches `Set-Cookie` headers, it may send one client's `session` cookie to other clients. The severity depends on the application's use of the session and the proxy's behavior regarding cookies. The risk depends on all these conditions being met. 1. The application must be hosted behind a caching proxy that does not strip cookies or ignore responses with cookies. 2. The application sets `session.permanent = True` 3. The application does not access or modify the session at any point during a request. 4. `SESSION_REFRESH_EACH_REQUEST` enabled (the default). 5. The application does not set a `Cache-Control` header to indicate that a page is private or should not be cached. This happens because vulnerable versions of Flask only set the `Vary: Cookie` header when the session is accessed or modified, not when it is refreshed (re-sent to update the expiration) without being accessed or modified. This issue has been fixed in versions 2.3.2 and 2.2.5.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.5 7.5
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required None None
User Interaction None None
Scope Unchanged Unchanged
Confidentiality Impact High High
Integrity Impact None None
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1211246 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container ses/7.1/cephcsi/cephcsi:3.8.0.1.0.4.5.49
Container ses/7.1/rook/ceph:1.10.1.16.4.5.420
  • python3-Flask >= 1.0.2-150100.6.3.1
Image SLES15-SP4-Manager-Server-4-3
Image SLES15-SP4-Manager-Server-4-3-Azure-llc
Image SLES15-SP4-Manager-Server-4-3-Azure-ltd
Image SLES15-SP4-Manager-Server-4-3-EC2-llc
Image SLES15-SP4-Manager-Server-4-3-EC2-ltd
  • python3-Flask >= 1.0.4-150400.3.3.1
SUSE CaaS Platform 4.0
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SUSE-CAASP-4.0-2023-2264
SUSE Enterprise Storage 7.1
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-Storage-7.1-2023-2264
SUSE Enterprise Storage 7
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-Storage-7-2023-2264
SUSE Linux Enterprise Desktop 15 SP4
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Basesystem 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • python3-Flask >= 1.0.4-150400.3.3.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP4-2023-2263
SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Module for Basesystem 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • python3-Flask >= 1.0.4-150400.3.3.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP5-2023-2263
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP1-LTSS-2023-2264
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP2-LTSS-2023-2264
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP3-ESPOS-2023-2264
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP3-LTSS-2023-2264
SUSE Linux Enterprise Module for Package Hub 15 SP4
  • python2-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP4-2023-2264
SUSE Linux Enterprise Module for Package Hub 15 SP5
  • python2-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP5-2023-2264
SUSE Linux Enterprise Real Time 15 SP3
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-RT-15-SP3-2023-2264
SUSE Linux Enterprise Server 15 SP1-LTSS
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP1-LTSS-2023-2264
SUSE Linux Enterprise Server 15 SP2-LTSS
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP2-LTSS-2023-2264
SUSE Linux Enterprise Server 15 SP3-LTSS
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP3-LTSS-2023-2264
SUSE Linux Enterprise Server for SAP Applications 15 SP1
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP1-2023-2264
SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP2-2023-2264
SUSE Linux Enterprise Server for SAP Applications 15 SP3
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP3-2023-2264
SUSE Manager Proxy 4.2
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Proxy-4.2-2023-2264
SUSE Manager Retail Branch Server 4.2
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Retail-Branch-Server-4.2-2023-2264
SUSE Manager Server 4.2
  • python3-Flask >= 1.0.2-150100.6.3.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Server-4.2-2023-2264
openSUSE Leap 15.4
  • python3-Flask >= 1.0.4-150400.3.3.1
  • python3-Flask-doc >= 1.0.4-150400.3.3.1
Patchnames:
openSUSE-SLE-15.4-2023-2263
openSUSE Leap 15.5
  • python3-Flask >= 1.0.4-150400.3.3.1
  • python3-Flask-doc >= 1.0.4-150400.3.3.1
Patchnames:
openSUSE-SLE-15.5-2023-2263
openSUSE Tumbleweed
  • python310-Flask >= 2.2.5-1.1
  • python310-Flask-doc >= 2.2.5-1.1
  • python311-Flask >= 2.2.5-1.1
  • python311-Flask-doc >= 2.2.5-1.1
  • python39-Flask >= 2.2.5-1.1
  • python39-Flask-doc >= 2.2.5-1.1
Patchnames:
openSUSE Tumbleweed GA python310-Flask-2.2.5-1.1


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 Enterprise Storage 7.1 python-Flask Released
SUSE Linux Enterprise Desktop 15 SP5 python-Flask Released
SUSE Linux Enterprise High Performance Computing 12 python-Flask Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP5 python-Flask Released
SUSE Linux Enterprise Module for Basesystem 15 SP5 python-Flask Released
SUSE Linux Enterprise Module for Package Hub 15 SP4 python-Flask Released
SUSE Linux Enterprise Module for Package Hub 15 SP5 python-Flask Released
SUSE Linux Enterprise Module for Public Cloud 12 python-Flask Unsupported
SUSE Linux Enterprise Module for Python 3 15 SP5 python-Flask Affected
SUSE Linux Enterprise Real Time 15 SP3 python-Flask Released
SUSE Linux Enterprise Server 12 SP5 python-Flask Unsupported
SUSE Linux Enterprise Server 15 SP5 python-Flask Released
SUSE Linux Enterprise Server for SAP Applications 12 SP5 python-Flask Unsupported
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python-Flask Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 python-Flask Released
SUSE Manager Proxy 4.3 python-Flask Released
SUSE Manager Retail Branch Server 4.3 python-Flask Released
SUSE Manager Server 4.3 python-Flask Released
openSUSE Leap 15.5 python-Flask Released
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 python-Flask Released
SUSE Linux Enterprise High Performance Computing 15 python-Flask Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1 python-Flask Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS python-Flask Affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS python-Flask Released
SUSE Linux Enterprise High Performance Computing 15 SP2 python-Flask Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS python-Flask Affected
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS python-Flask Released
SUSE Linux Enterprise High Performance Computing 15 SP3 python-Flask Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS python-Flask Released
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS python-Flask Released
SUSE Linux Enterprise High Performance Computing 15 SP4 python-Flask Released
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS python-Flask Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS python-Flask 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 SP2 python-Flask Affected
SUSE Linux Enterprise Module for Basesystem 15 SP3 python-Flask Affected
SUSE Linux Enterprise Module for Basesystem 15 SP4 python-Flask Released
SUSE Linux Enterprise Module for Python 3 15 SP4 python-Flask Affected
SUSE Linux Enterprise Server 15 SP2 python-Flask Affected
SUSE Linux Enterprise Server 15 SP2-LTSS python-Flask Released
SUSE Linux Enterprise Server 15 SP3 python-Flask Affected
SUSE Linux Enterprise Server 15 SP3-LTSS python-Flask Released
SUSE Linux Enterprise Server 15 SP4 python-Flask Released
SUSE Linux Enterprise Server 15 SP4-LTSS python-Flask Affected
SUSE Linux Enterprise Server for SAP Applications 15 python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 python-Flask Released
SUSE Linux Enterprise Server for SAP Applications 15 SP2 python-Flask Released
SUSE Linux Enterprise Server for SAP Applications 15 SP3 python-Flask Released
Products past their end of life and not receiving proactive updates anymore.
HPE Helion OpenStack 8 python-Flask Won't fix
SUSE CaaS Platform 4.0 python-Flask Released
SUSE Enterprise Storage 6 python-Flask Affected
SUSE Enterprise Storage 7 python-Flask Released
SUSE Linux Enterprise Desktop 15 python-Flask Not affected
SUSE Linux Enterprise Desktop 15 SP1 python-Flask Affected
SUSE Linux Enterprise Desktop 15 SP2 python-Flask Affected
SUSE Linux Enterprise Desktop 15 SP3 python-Flask Affected
SUSE Linux Enterprise Module for Basesystem 15 python-Flask Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP1 python-Flask Affected
SUSE Linux Enterprise Module for Package Hub 15 python-Flask Not affected
SUSE Linux Enterprise Module for Package Hub 15 SP1 python-Flask Affected
SUSE Linux Enterprise Module for Package Hub 15 SP2 python-Flask Affected
SUSE Linux Enterprise Module for Package Hub 15 SP3 python-Flask Affected
SUSE Linux Enterprise Real Time 15 SP2 python-Flask Affected
SUSE Linux Enterprise Server 12 python-Flask Unsupported
SUSE Linux Enterprise Server 12 SP3 python-Flask Unsupported
SUSE Linux Enterprise Server 12 SP4 python-Flask Unsupported
SUSE Linux Enterprise Server 15 python-Flask Not affected
SUSE Linux Enterprise Server 15 SP1 python-Flask Affected
SUSE Linux Enterprise Server 15 SP1-BCL python-Flask Affected
SUSE Linux Enterprise Server 15 SP1-LTSS python-Flask Released
SUSE Linux Enterprise Server 15 SP2-BCL python-Flask Affected
SUSE Linux Enterprise Server 15 SP3-BCL python-Flask Affected
SUSE Linux Enterprise Server 15-LTSS python-Flask Not affected
SUSE Linux Enterprise Server for SAP Applications 12 python-Flask Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP3 python-Flask Unsupported
SUSE Linux Enterprise Server for SAP Applications 12 SP4 python-Flask Unsupported
SUSE Manager Proxy 4.0 python-Flask Affected
SUSE Manager Proxy 4.1 python-Flask Affected
SUSE Manager Proxy 4.2 python-Flask Released
SUSE Manager Retail Branch Server 4.0 python-Flask Affected
SUSE Manager Retail Branch Server 4.1 python-Flask Affected
SUSE Manager Retail Branch Server 4.2 python-Flask Released
SUSE Manager Server 4.0 python-Flask Affected
SUSE Manager Server 4.1 python-Flask Affected
SUSE Manager Server 4.2 python-Flask Released
SUSE OpenStack Cloud 8 python-Flask Won't fix
SUSE OpenStack Cloud 9 python-Flask Won't fix
SUSE OpenStack Cloud Crowbar 8 python-Flask Won't fix
SUSE OpenStack Cloud Crowbar 9 python-Flask Won't fix
openSUSE Leap 15.4 python-Flask Released


SUSE Timeline for this CVE

CVE page created: Tue May 2 22:00:47 2023
CVE page last modified: Thu Feb 22 17:23:47 2024