Upstream information

CVE-2023-30608 at MITRE

Description

sqlparse is a non-validating SQL parser module for Python. In affected versions the SQL parser contains a regular expression that is vulnerable to ReDoS (Regular Expression Denial of Service). This issue was introduced by commit `e75e358`. The vulnerability may lead to Denial of Service (DoS). This issues has been fixed in sqlparse 0.4.4 by commit `c457abd5f`. Users are advised to upgrade. There are no known workarounds for this issue.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v3 Scores
  National Vulnerability Database SUSE
Base Score 5.5 5.5
Vector CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Attack Vector Local Local
Attack Complexity Low Low
Privileges Required None None
User Interaction Required Required
Scope Unchanged Unchanged
Confidentiality Impact None None
Integrity Impact None None
Availability Impact High High
CVSSv3 Version 3.1 3.1
SUSE Bugzilla entries: 1210617 [RESOLVED / FIXED], 1227303 [NEW]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
HPE Helion OpenStack 8
  • python-sqlparse >= 0.2.3-3.3.1
Patchnames:
HPE-Helion-OpenStack-8-2023-2693
SUSE Linux Enterprise Desktop 15 SP4
SUSE Linux Enterprise Module for Basesystem 15 SP4
  • python3-sqlparse >= 0.4.2-150300.3.6.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP4-2023-2619
SUSE Linux Enterprise Desktop 15 SP5
SUSE Linux Enterprise Module for Basesystem 15 SP5
  • python3-sqlparse >= 0.4.2-150300.3.6.1
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP5-2023-2619
SUSE-SLE-Module-Basesystem-15-SP5-2024-1637
SUSE Linux Enterprise Desktop 15 SP6
SUSE Linux Enterprise Module for Basesystem 15 SP6
  • python3-sqlparse >= 0.4.2-150300.3.6.1
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP6 GA python3-sqlparse-0.4.2-150300.9.1
SUSE Linux Enterprise High Performance Computing 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-sqlparse >= 0.4.2-150300.3.6.1
  • python311-sqlparse >= 0.4.4-150400.6.4.2
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP4-2023-2619
SUSE-SLE-Module-Public-Cloud-15-SP4-2024-1637
SUSE Linux Enterprise High Performance Computing 15 SP5
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server for SAP Applications 15 SP5
  • python3-sqlparse >= 0.4.2-150300.3.6.1
  • python311-sqlparse >= 0.4.4-150400.6.4.2
Patchnames:
SUSE-SLE-Module-Basesystem-15-SP5-2023-2619
SUSE-SLE-Module-Basesystem-15-SP5-2024-1637
SUSE-SLE-Module-Public-Cloud-15-SP5-2024-1637
SUSE Linux Enterprise High Performance Computing 15 SP6
SUSE Linux Enterprise Server 15 SP6
SUSE Linux Enterprise Server for SAP Applications 15 SP6
  • python3-sqlparse >= 0.4.2-150300.3.6.1
  • python311-sqlparse >= 0.4.4-150400.6.4.2
Patchnames:
SUSE Linux Enterprise Module for Basesystem 15 SP6 GA python3-sqlparse-0.4.2-150300.9.1
SUSE-SLE-Module-Public-Cloud-15-SP6-2024-1637
SUSE Linux Enterprise Module for Package Hub 15 SP4
  • python2-sqlparse >= 0.2.4-150100.6.3.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP4-2023-2462
SUSE Linux Enterprise Module for Package Hub 15 SP5
  • python2-sqlparse >= 0.2.4-150100.6.3.1
Patchnames:
SUSE-SLE-Module-Packagehub-Subpackages-15-SP5-2023-2462
SUSE-SLE-Module-Packagehub-Subpackages-15-SP5-2024-1637
SUSE Linux Enterprise Module for Package Hub 15 SP6
  • python2-sqlparse >= 0.2.4-150100.6.3.1
Patchnames:
SUSE Linux Enterprise Module for Package Hub 15 SP6 GA python-sqlparse-0.2.4-150100.6.3.1
SUSE Linux Enterprise Module for Public Cloud 15 SP4
  • python311-sqlparse >= 0.4.4-150400.6.4.2
Patchnames:
SUSE-SLE-Module-Public-Cloud-15-SP4-2024-1637
SUSE Linux Enterprise Module for Public Cloud 15 SP5
  • python311-sqlparse >= 0.4.4-150400.6.4.2
Patchnames:
SUSE-SLE-Module-Public-Cloud-15-SP5-2024-1637
SUSE Linux Enterprise Module for Public Cloud 15 SP6
  • python311-sqlparse >= 0.4.4-150400.6.4.2
Patchnames:
SUSE-SLE-Module-Public-Cloud-15-SP6-2024-1637
SUSE Linux Enterprise Real Time 15 SP3
  • python3-sqlparse >= 0.4.2-150300.3.6.1
Patchnames:
SUSE-SLE-Product-RT-15-SP3-2023-2619
SUSE OpenStack Cloud 8
  • python-sqlparse >= 0.2.3-3.3.1
Patchnames:
SUSE-OpenStack-Cloud-8-2023-2693
SUSE OpenStack Cloud 9
  • python-sqlparse >= 0.2.3-4.3.1
Patchnames:
SUSE-OpenStack-Cloud-9-2023-2787
SUSE OpenStack Cloud Crowbar 8
  • python-sqlparse >= 0.2.3-3.3.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-8-2023-2693
SUSE OpenStack Cloud Crowbar 9
  • python-sqlparse >= 0.2.3-4.3.1
Patchnames:
SUSE-OpenStack-Cloud-Crowbar-9-2023-2787
openSUSE Leap 15.4
  • python3-sqlparse >= 0.4.2-150300.3.6.1
Patchnames:
openSUSE-SLE-15.4-2023-2619
openSUSE Leap 15.5
  • python3-sqlparse >= 0.4.2-150300.3.6.1
  • python311-sqlparse >= 0.4.4-150400.6.4.2
Patchnames:
openSUSE-SLE-15.5-2023-2619
openSUSE-SLE-15.5-2024-1637
openSUSE Leap 15.6
  • python311-sqlparse >= 0.4.4-150400.6.4.2
Patchnames:
openSUSE-SLE-15.6-2024-1637
openSUSE Tumbleweed
  • python310-sqlparse >= 0.4.4-1.1
  • python311-sqlparse >= 0.4.4-1.1
  • python39-sqlparse >= 0.4.4-1.1
Patchnames:
openSUSE-Tumbleweed-2024-12957


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


SUSE Timeline for this CVE

CVE page created: Wed Apr 19 02:00:14 2023
CVE page last modified: Thu Jul 11 19:46:05 2024