Bug 2278038 (CVE-2024-4340)

Summary: CVE-2024-4340 sqlparse: parsing heavily nested list leads to denial of service
Product: [Other] Security Response Reporter: Robb Gatica <rgatica>
Component: vulnerabilityAssignee: Product Security <prodsec-ir-bot>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adudiak, apevec, bbuckingham, bcourt, caswilli, davidn, dfreiber, drow, eglynn, ehelms, epacific, gtanzill, jburrell, jcammara, jhardy, jjoyce, jmitchel, jneedle, jobarker, jschluet, jsherril, jtanner, kaycoth, kholdawa, kshier, lhh, lsvaty, lzap, mabashia, mburns, mgarciac, mhulan, mminar, nmoumoul, omaciel, orabin, pcreech, pgrist, rbiba, rbobbitt, rchan, rhos-maint, sidakwo, simaishi, smcdonal, sskracic, stcannon, teagle, vkumar, yguenane, zsadeh
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: sqlparse 0.5.0 Doc Type: ---
Doc Text:
A flaw was found in sqlparse. This issue occurs in a heavily nested list in sqlparse.parse(), where a recursion error may be triggered, which can lead to a denial of service.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2278039, 2278040, 2278041, 2278042, 2278043, 2278044, 2308358    
Bug Blocks: 2278037    

Comment 1 Robb Gatica 2024-04-30 21:36:39 UTC
Created python-sqlparse tracking bugs for this issue:

Affects: epel-all [bug 2278039]
Affects: fedora-all [bug 2278040]

Comment 6 errata-xmlrpc 2024-06-10 18:37:53 UTC
This issue has been addressed in the following products:

  Red Hat Ansible Automation Platform 2.4 for RHEL 9
  Red Hat Ansible Automation Platform 2.4 for RHEL 8

Via RHSA-2024:3781 https://access.redhat.com/errata/RHSA-2024:3781

Comment 7 errata-xmlrpc 2024-11-21 09:27:44 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 17.1 for RHEL 8

Via RHSA-2024:9986 https://access.redhat.com/errata/RHSA-2024:9986

Comment 8 errata-xmlrpc 2024-11-21 09:32:42 UTC
This issue has been addressed in the following products:

  Red Hat OpenStack Platform 17.1 for RHEL 9

Via RHSA-2024:9984 https://access.redhat.com/errata/RHSA-2024:9984

Comment 9 errata-xmlrpc 2025-02-12 00:09:14 UTC
This issue has been addressed in the following products:

  RHUI 4 for RHEL 8

Via RHSA-2025:1335 https://access.redhat.com/errata/RHSA-2025:1335