1. Accueil
  2. Vulnérabilités
  3. CVE-2024-12704

CVE-2024-12704

A vulnerability in the LangChainLLM class of the run-llama/llama_index repository, version v0.12.5, allows…

Publiée le 20 mars 2025 · modifiée le 17 juin 2026 · Sources : NVD, CNA (éditeur ou attributeur), EPSS (FIRST)

Moyen 53/100

Résumé

A vulnerability in the LangChainLLM class of the run-llama/llama_index repository, version v0.12.5, allows for a Denial of Service (DoS) attack. The stream_complete method executes the llm using a thread and retrieves the result via the get_response_gen method of the StreamingGeneratorCallbackHandler class. If the thread terminates abnormally before the _llm.predict is executed, there is no exception handling for this case, leading to an infinite loop in the get_response_gen function. This can be triggered by providing an input of an incorrect type, causing the thread to terminate and the process to continue running indefinitely.

Aucune traduction française : description d’origine affichée.

Produits et versions affectés

Llamaindex (1 ligne(s))
Llamaindex
ProduitVersionsCorrigé dansSource
Llamaindex 0.12.5 — NVD

Correctif

Non renseigné par l’éditeur.

Contournement

Aucun contournement renseigné.

Savoir si vous êtes touché

Exploit signalé par les sources

Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.

Chronologie

  1. — Publication de la CVE (cve)

Références

Provenance des données

Statut
NVD
Date de publication
NVD
Description
NVD
Score CVSS
CNA (éditeur ou attributeur)
Faiblesse (CWE)
CNA (éditeur ou attributeur)
Vecteur CVSS
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.0, CNA:security@huntr.dev)
Faiblesse
CWE-835 · Autre (CWE-835)

Comment sont obtenues et calculées ces données