{"id":"CVE-2024-4340","sourceIdentifier":"reefs@jfrog.com","published":"2024-04-30T15:15:53.407","lastModified":"2026-06-17T08:01:42.383","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"Passing a heavily nested list to sqlparse.parse() leads to a Denial of Service due to RecursionError.\n\n"},{"lang":"es","value":"Pasar una lista muy anidada a sqlparse.parse() conduce a una denegación de servicio debido a RecursionError."}],"affected":[{"source":"reefs@jfrog.com","affectedData":[{"collectionURL":"https://pypi.org/project/pip","packageName":"sqlparse","versions":[{"version":"0","lessThan":"0.5.0","versionType":"python","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"sqlparse_project","product":"sqlparse","defaultStatus":"unknown","cpes":["cpe:2.3:a:sqlparse_project:sqlparse:*:*:*:*:*:*:*:*"],"versions":[{"version":"0","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"reefs@jfrog.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"NONE","availabilityImpact":"HIGH"},"exploitabilityScore":3.9,"impactScore":3.6}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-04-30T16:07:16.196262Z","id":"CVE-2024-4340","options":[{"exploitation":"poc"},{"automatable":"yes"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"reefs@jfrog.com","type":"Secondary","description":[{"lang":"en","value":"CWE-674"}]}],"references":[{"url":"https://github.com/advisories/GHSA-2m57-hf25-phgg","source":"reefs@jfrog.com"},{"url":"https://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b42a2cf03","source":"reefs@jfrog.com"},{"url":"https://research.jfrog.com/vulnerabilities/sqlparse-stack-exhaustion-dos-jfsa-2024-001031292/","source":"reefs@jfrog.com"},{"url":"https://github.com/advisories/GHSA-2m57-hf25-phgg","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/andialbrecht/sqlparse/commit/b4a39d9850969b4e1d6940d32094ee0b42a2cf03","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.debian.org/debian-lts-announce/2024/12/msg00022.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://research.jfrog.com/vulnerabilities/sqlparse-stack-exhaustion-dos-jfsa-2024-001031292/","source":"af854a3a-2127-422b-91ae-364da2661108"}]}