CVE-20XX-?
agent?

CVE-2024-58339

8.7 HIGH 0.6% exploit odds No fix listed Denial of service

What it is

LlamaIndex (run-llama/llama_index) versions up to and including 0.12.2 contain an uncontrolled resource consumption vulnerability in the VannaPack VannaQueryEngine implementation. The custom_query() logic generates SQL statements from a user-supplied prompt and executes them via vn.run_sql() without enforcing query execution limits In downstream deployments where untrusted users can supply prompts, an attacker can trigger expensive or unbounded SQL operations that exhaust CPU or memory resources, resulting in a denial-of-service condition. The vulnerable execution path occurs in llama_index/packs/vanna/base.py within custom_query().

At a glance

Exploitability
Can be exploited over the network without logging in. High risk of service disruption.
Exploit odds
0.6% chance of exploitation in the next 30 days (EPSS).
Fix
No patch or advisory is linked yet. Look at mitigations or restrict exposure.

Timeline

  1. PublishedDisclosed publicly on CVE.org and NVD
  2. Last updatedMost recent change to the record

Why it ranks here

Details

Published
Last modified
Exploit probability
0.6% · EPSS, next 30 days
Weakness
CWE-770 · Allocation without limits
Record status
Analyzed

Affected

Attack profile CVSS 4.0 · 8.7

Attack vector
Network
Complexity
Low
Attack requirements
None
Privileges needed
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Raw vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Is it in your code?

Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.

Read https://cve-list.com/agent/cve/CVE-2024-58339.md and follow it. Check whether this project is affected by CVE-2024-58339. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.

· More options · Status badge

Meme: I wake up, CVE-2024-58339
Download Square Reddit

References

NVD record · CVE.org record