Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.

Subscriptions

Vendors Products
Ansible Automation Platform Subscribe
Openstack Subscribe
Satellite Subscribe
Satellite Capsule Subscribe

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4000-1 sqlparse security update
Github GHSA Github GHSA GHSA-2m57-hf25-phgg sqlparse parsing heavily nested list leads to Denial of Service
Ubuntu USN Ubuntu USN USN-6771-1 SQL parse vulnerability
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Mon, 03 Nov 2025 22:30:00 +0000

Type Values Removed Values Added
References

Fri, 27 Jun 2025 02:45:00 +0000

Type Values Removed Values Added
First Time appeared Redhat satellite
Redhat satellite Capsule
CPEs cpe:/a:redhat:satellite:6.15::el8
cpe:/a:redhat:satellite_capsule:6.15::el8
Vendors & Products Redhat satellite
Redhat satellite Capsule

Thu, 13 Feb 2025 01:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat rhui
CPEs cpe:/a:redhat:rhui:4::el8
Vendors & Products Redhat rhui

Fri, 22 Nov 2024 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Redhat openstack
CPEs cpe:/a:redhat:openstack:17.1::el8
cpe:/a:redhat:openstack:17.1::el9
Vendors & Products Redhat openstack

cve-icon MITRE

Status: PUBLISHED

Assigner: JFROG

Published:

Updated: 2025-11-03T22:05:00.696Z

Reserved: 2024-04-30T11:12:30.839Z

Link: CVE-2024-4340

cve-icon Vulnrichment

Updated: 2024-08-01T20:40:46.508Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-04-30T15:15:53.407

Modified: 2025-11-03T22:18:33.897

Link: CVE-2024-4340

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-04-30T00:00:00Z

Links: CVE-2024-4340 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses