Cyber Resilience

CVE-2024-4340

HighDDoS

Published: 30 April 2024

Published
30 April 2024
Modified
15 April 2026
KEV Added
Patch
CVSS Score v3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score 0.1088 93.6th percentile
Risk Priority 22 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-4340 is a high-severity Uncontrolled Recursion (CWE-674) vulnerability in Jfrog (inferred from references). Its CVSS base score is 7.5 (High).

Operationally, ranked in the top 6.4% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

CVE-2024-4340 is an uncontrolled recursion vulnerability (CWE-674) in the sqlparse Python library. Passing a heavily nested list to the sqlparse.parse() function triggers a RecursionError that crashes the calling process, resulting in a denial of service. The flaw affects any application that invokes sqlparse on untrusted or attacker-controlled input and carries a CVSS 3.1 score of 7.5.

An unauthenticated remote attacker can exploit the issue by supplying a maliciously crafted SQL string or nested structure to any service that uses sqlparse.parse() without prior depth validation. Successful exploitation requires only network reachability and produces an immediate application crash or worker restart, with no impact on confidentiality or integrity.

Public advisories and the referenced GitHub security advisory GHSA-2m57-hf25-phgg point to commit b4a39d9850969b4e1d6940d32094ee0b42a2cf03 as the corrective patch; users are advised to upgrade to a version containing this change. The JFrog research note further recommends input sanitization or recursion-depth limits as interim controls until patching is complete.

EPSS for the CVE rose from a low baseline to a peak of 0.1704 (current value 0.1088), indicating measurable post-disclosure exploitation interest that warrants renewed attention from defenders.

EU & UK References

Vulnerability details

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

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

Jfrog
inferred from references and description; NVD did not file a CPE for this CVE

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-674

Supports resumption at alternate site when uncontrolled recursion causes primary site failure or crash.

addresses: CWE-674

Prevents uncontrolled recursion that exhausts stack or CPU resources.

References