{"id":"CVE-2024-4181","sourceIdentifier":"security@huntr.dev","published":"2024-05-16T09:15:15.553","lastModified":"2026-06-17T08:01:16.973","vulnStatus":"Analyzed","cveTags":[],"descriptions":[{"lang":"en","value":"A command injection vulnerability exists in the RunGptLLM class of the llama_index library, version 0.9.47, used by the RunGpt framework from JinaAI to connect to Language Learning Models (LLMs). The vulnerability arises from the improper use of the eval function, allowing a malicious or compromised LLM hosting provider to execute arbitrary commands on the client's machine. This issue was fixed in version 0.10.13. The exploitation of this vulnerability could lead to a hosting provider gaining full control over client machines."},{"lang":"es","value":"Existe una vulnerabilidad de inyección de comandos en la clase RunGptLLM de la librería llama_index, versión 0.9.47, utilizada por el marco RunGpt de JinaAI para conectarse a los modelos de aprendizaje de idiomas (LLM). La vulnerabilidad surge del uso inadecuado de la función de evaluación, lo que permite que un proveedor de alojamiento LLM malicioso o comprometido ejecute comandos arbitrarios en la máquina del cliente. Este problema se solucionó en la versión 0.10.13. La explotación de esta vulnerabilidad podría llevar a que un proveedor de alojamiento obtenga control total sobre las máquinas cliente."}],"affected":[{"source":"security@huntr.dev","affectedData":[{"vendor":"run-llama","product":"run-llama/llama_index","versions":[{"version":"unspecified","lessThan":"0.10.13","versionType":"custom","status":"affected"}]}]},{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","affectedData":[{"vendor":"run-llama","product":"llama_index","defaultStatus":"unknown","cpes":["cpe:2.3:a:run-llama:llama_index:*:*:*:*:*:*:*:*"],"versions":[{"version":"0.9.47","status":"affected"}]}]}],"metrics":{"cvssMetricV30":[{"source":"security@huntr.dev","type":"Secondary","cvssData":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","baseScore":8.8,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2024-05-16T16:10:22.479833Z","id":"CVE-2024-4181","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security@huntr.dev","type":"Secondary","description":[{"lang":"en","value":"CWE-94"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:llamaindex:llamaindex:*:*:*:*:*:*:*:*","versionStartIncluding":"0.9.47","versionEndExcluding":"0.10.13","matchCriteriaId":"34FD9B1D-9DCA-4F40-A413-28B7CC8376E8"}]}]}],"references":[{"url":"https://github.com/run-llama/llama_index/commit/d73715eaf0642705583e7897c78b9c8dd2d3a7ba","source":"security@huntr.dev","tags":["Patch"]},{"url":"https://huntr.com/bounties/1a204520-598a-434e-b13d-0d34f2a5ddc1","source":"security@huntr.dev","tags":["Exploit","Third Party Advisory"]},{"url":"https://github.com/run-llama/llama_index/commit/d73715eaf0642705583e7897c78b9c8dd2d3a7ba","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Patch"]},{"url":"https://huntr.com/bounties/1a204520-598a-434e-b13d-0d34f2a5ddc1","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Third Party Advisory"]}]}