Bug 1223603 (CVE-2024-4340)

Summary: VUL-0: CVE-2024-4340: python-sqlparse,python3-sqlparse: processing of heavily nested list leads to RecursionError in sqlparse.parse()
Product: [Novell Products] SUSE Security Incidents Reporter: SMASH SMASH <smash_bz>
Component: IncidentsAssignee: Steve Kowalik <steven.kowalik>
Status: NEW --- QA Contact: Security Team bot <security-team>
Severity: Major    
Priority: P3 - Medium CC: camila.matos, cloud-bugs, rfrohl, robert.simai, steven.kowalik
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://smash.suse.de/issue/403646/
Whiteboard: CVSSv3.1:SUSE:CVE-2024-4340:7.5:(AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Found By: Security Response Team Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Comment 4 OBSbugzilla Bot 2024-05-07 02:55:03 UTC
This is an autogenerated message for OBS integration:
This bug (1223603) was mentioned in
https://build.opensuse.org/request/show/1172288 Factory / python-sqlparse
Comment 8 Steve Kowalik 2024-05-16 07:21:28 UTC
Sorry about that, I've done so.
Comment 12 Maintenance Automation 2024-05-23 12:30:03 UTC
SUSE-SU-2024:1767-1: An update that solves one vulnerability can now be installed.

Category: security (important)
Bug References: 1223603
CVE References: CVE-2024-4340
Maintenance Incident: [SUSE:Maintenance:33866](https://smelt.suse.de/incident/33866/)
Sources used:
openSUSE Leap 15.4 (src):
 python-sqlparse-0.4.4-150400.6.7.1
openSUSE Leap 15.5 (src):
 python-sqlparse-0.4.4-150400.6.7.1
Public Cloud Module 15-SP4 (src):
 python-sqlparse-0.4.4-150400.6.7.1
Public Cloud Module 15-SP5 (src):
 python-sqlparse-0.4.4-150400.6.7.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.