Bug 2278038 (CVE-2024-4340) - CVE-2024-4340 sqlparse: parsing heavily nested list leads to denial of service
Summary: CVE-2024-4340 sqlparse: parsing heavily nested list leads to denial of service
Keywords:
Status: NEW
Alias: CVE-2024-4340
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2278039 2278040 2278043 2308358 2278041 2278042 2278044
Blocks: 2278037
TreeView+ depends on / blocked
 
Reported: 2024-04-30 21:33 UTC by Robb Gatica
Modified: 2024-08-28 17:54 UTC (History)
52 users (show)

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.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:3781 0 None None None 2024-06-10 18:37:58 UTC

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


Note You need to log in before you can comment on or make changes to this bug.