Upstream information

CVE-2021-21241 at MITRE

Description

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 4.3
Vector AV:N/AC:M/Au:N/C:P/I:N/A:N
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact None
Availability Impact None
CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 7.4 7.4
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Attack Vector Network Network
Attack Complexity Low Low
Privileges Required None None
User Interaction Required Required
Scope Changed Changed
Confidentiality Impact High High
Integrity Impact None None
Availability Impact None None
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entry: 1181058 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
SUSE Enterprise Storage 7.1
SUSE Linux Enterprise Desktop 15 SP3
SUSE Linux Enterprise High Performance Computing 15 SP3
SUSE Linux Enterprise Module for Basesystem 15 SP3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Manager Proxy 4.2
SUSE Manager Retail Branch Server 4.2
SUSE Manager Server 4.2
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP3-2022-3093
SUSE Enterprise Storage 7
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
SUSE-Storage-7-2022-3093
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-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP4-2022-3093
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-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP5 GA python-Flask-Security-Too-3.4.2-150200.3.6.1
SUSE Linux Enterprise Module for Basesystem 15 SP5 GA python3-Flask-Security-Too-3.4.2-150200.3.6.1
SUSE Linux Enterprise Desktop 15 SP6
SUSE Linux Enterprise High Performance Computing 15 SP6
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
  • python311-Flask-Security-Too >= 5.3.3-150600.1.4
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP6 GA python-Flask-Security-Too-3.4.2-150200.3.6.1
SUSE Linux Enterprise Module for Basesystem 15 SP6 GA python3-Flask-Security-Too-3.4.2-150200.3.6.1
SUSE Linux Enterprise Module for Python 3 15 SP6 GA python311-Flask-Security-Too-5.3.3-150600.1.4
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP2-ESPOS-2022-3093
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
SUSE-SLE-Product-HPC-15-SP2-LTSS-2022-3093
SUSE Linux Enterprise Module for Basesystem 15 SP6
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP6 GA python-Flask-Security-Too-3.4.2-150200.3.6.1
SUSE Linux Enterprise Module for Basesystem 15 SP6 GA python3-Flask-Security-Too-3.4.2-150200.3.6.1
SUSE Linux Enterprise Module for Python 3 15 SP6
  • python311-Flask-Security-Too >= 5.3.3-150600.1.4
Patchnames:
SUSE Linux Enterprise Module for Python 3 15 SP6 GA python311-Flask-Security-Too-5.3.3-150600.1.4
SUSE Linux Enterprise Server 15 SP2-BCL
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP2-BCL-2022-3093
SUSE Linux Enterprise Server 15 SP2-LTSS
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
SUSE-SLE-Product-SLES-15-SP2-LTSS-2022-3093
SUSE Linux Enterprise Server for SAP Applications 15 SP2
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
SUSE-SLE-Product-SLES_SAP-15-SP2-2022-3093
SUSE Manager Proxy 4.1
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Proxy-4.1-2022-3093
SUSE Manager Retail Branch Server 4.1
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Retail-Branch-Server-4.1-2022-3093
SUSE Manager Server 4.1
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
SUSE-SLE-Product-SUSE-Manager-Server-4.1-2022-3093
openSUSE Leap 15.3
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
openSUSE-SLE-15.3-2022-3093
openSUSE Leap 15.4
  • python3-Flask-Security-Too >= 3.4.2-150200.3.3.1
Patchnames:
openSUSE-SLE-15.4-2022-3093
openSUSE Tumbleweed
  • python310-Flask-Security-Too >= 5.3.2-3.1
  • python311-Flask-Security-Too >= 5.3.2-3.1
  • python39-Flask-Security-Too >= 5.3.2-3.1
Patchnames:
openSUSE-Tumbleweed-2024-13561


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 SP5 python-Flask-Security-Too Released
SUSE Linux Enterprise Desktop 15 SP6 python-Flask-Security-Too Released
SUSE Linux Enterprise High Performance Computing 15 SP5 python-Flask-Security-Too Released
SUSE Linux Enterprise High Performance Computing 15 SP6 python-Flask-Security-Too Released
SUSE Linux Enterprise Module for Basesystem 15 SP5 python-Flask-Security-Too Released
SUSE Linux Enterprise Module for Basesystem 15 SP6 python-Flask-Security-Too Released
SUSE Linux Enterprise Module for Python 3 15 SP6 python-Flask-Security-Too Already fixed
SUSE Linux Enterprise Server 15 SP5 python-Flask-Security-Too Released
SUSE Linux Enterprise Server 15 SP6 python-Flask-Security-Too Released
SUSE Linux Enterprise Server for SAP Applications 15 SP5 python-Flask-Security-Too Released
SUSE Linux Enterprise Server for SAP Applications 15 SP6 python-Flask-Security-Too Released
SUSE Manager Proxy 4.3 python-Flask-Security-Too Released
SUSE Manager Retail Branch Server 4.3 python-Flask-Security-Too Released
SUSE Manager Server 4.3 python-Flask-Security-Too Released
openSUSE Leap 15.5 python-Flask-Security Not affected
openSUSE Leap 15.5 python-Flask-Security-Too Affected
openSUSE Leap 15.6 python-Flask-Security Not affected
openSUSE Leap 15.6 python-Flask-Security-Too Already fixed
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise Desktop 15 SP4 python-Flask-Security-Too Released
SUSE Linux Enterprise High Performance Computing 15 SP2 python-Flask-Security-Too Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS python-Flask-Security-Too Released
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS python-Flask-Security-Too Released
SUSE Linux Enterprise High Performance Computing 15 SP3 python-Flask-Security-Too Released
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS python-Flask-Security-Too Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS python-Flask-Security-Too Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 python-Flask-Security-Too Released
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS python-Flask-Security-Too Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS python-Flask-Security-Too Affected
SUSE Linux Enterprise Module for Basesystem 15 SP2 python-Flask-Security-Too Unsupported
SUSE Linux Enterprise Module for Basesystem 15 SP3 python-Flask-Security-Too Released
SUSE Linux Enterprise Module for Basesystem 15 SP4 python-Flask-Security-Too Released
SUSE Linux Enterprise Server 15 SP2 python-Flask-Security-Too Unsupported
SUSE Linux Enterprise Server 15 SP2-LTSS python-Flask-Security-Too Released
SUSE Linux Enterprise Server 15 SP3 python-Flask-Security-Too Released
SUSE Linux Enterprise Server 15 SP3-LTSS python-Flask-Security-Too Affected
SUSE Linux Enterprise Server 15 SP4 python-Flask-Security-Too Released
SUSE Linux Enterprise Server 15 SP4-LTSS python-Flask-Security-Too Affected
SUSE Linux Enterprise Server Business Critical Linux 15 SP1 python-Flask-Security Not affected
SUSE Linux Enterprise Server Business Critical Linux 15 SP2 python-Flask-Security-Too Released
SUSE Linux Enterprise Server for SAP Applications 15 SP2 python-Flask-Security-Too Released
SUSE Linux Enterprise Server for SAP Applications 15 SP3 python-Flask-Security-Too Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 python-Flask-Security-Too Released
Products past their end of life and not receiving proactive updates anymore.
SUSE CaaS Platform 4.0 python-Flask-Security Not affected
SUSE CaaS Platform 4.5 python-Flask-Security-Too Unsupported
SUSE Enterprise Storage 6 python-Flask-Security Not affected
SUSE Enterprise Storage 7 python-Flask-Security-Too Released
SUSE Enterprise Storage 7.1 python-Flask-Security-Too Released
SUSE Linux Enterprise Desktop 15 SP1 python-Flask-Security Unsupported
SUSE Linux Enterprise Desktop 15 SP2 python-Flask-Security-Too Unsupported
SUSE Linux Enterprise Desktop 15 SP3 python-Flask-Security-Too Released
SUSE Linux Enterprise High Performance Computing 15 SP1 python-Flask-Security Unsupported
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS python-Flask-Security Not affected
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS python-Flask-Security Not affected
SUSE Linux Enterprise Module for Basesystem 15 SP1 python-Flask-Security Unsupported
SUSE Linux Enterprise Real Time 15 SP2 python-Flask-Security-Too Unsupported
SUSE Linux Enterprise Real Time 15 SP3 python-Flask-Security-Too Affected
SUSE Linux Enterprise Real Time 15 SP4 python-Flask-Security-Too Affected
SUSE Linux Enterprise Server 15 SP1 python-Flask-Security Unsupported
SUSE Linux Enterprise Server 15 SP1-BCL python-Flask-Security Not affected
SUSE Linux Enterprise Server 15 SP1-LTSS python-Flask-Security Not affected
SUSE Linux Enterprise Server 15 SP2-BCL python-Flask-Security-Too Released
SUSE Linux Enterprise Server 15 SP3-BCL python-Flask-Security-Too Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP1 python-Flask-Security Not affected
SUSE Manager Proxy 4.0 python-Flask-Security Not affected
SUSE Manager Proxy 4.1 python-Flask-Security-Too Released
SUSE Manager Proxy 4.2 python-Flask-Security-Too Released
SUSE Manager Retail Branch Server 4.0 python-Flask-Security Not affected
SUSE Manager Retail Branch Server 4.1 python-Flask-Security-Too Released
SUSE Manager Retail Branch Server 4.2 python-Flask-Security-Too Released
SUSE Manager Server 4.0 python-Flask-Security Not affected
SUSE Manager Server 4.1 python-Flask-Security-Too Released
SUSE Manager Server 4.2 python-Flask-Security-Too Released
openSUSE Leap 15.3 python-Flask-Security Not affected
openSUSE Leap 15.3 python-Flask-Security-Too Affected
openSUSE Leap 15.4 python-Flask-Security Not affected
openSUSE Leap 15.4 python-Flask-Security-Too Affected


SUSE Timeline for this CVE

CVE page created: Tue Jan 12 09:14:06 2021
CVE page last modified: Mon Nov 11 15:10:34 2024