2024-12-08 03:06:42 +00:00

64 lines
2.5 KiB
JSON

{
"id": "CVE-2024-5826",
"sourceIdentifier": "security@huntr.dev",
"published": "2024-06-27T19:15:17.350",
"lastModified": "2024-11-21T09:48:24.490",
"vulnStatus": "Awaiting Analysis",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "In the latest version of vanna-ai/vanna, the `vanna.ask` function is vulnerable to remote code execution due to prompt injection. The root cause is the lack of a sandbox when executing LLM-generated code, allowing an attacker to manipulate the code executed by the `exec` function in `src/vanna/base/base.py`. This vulnerability can be exploited by an attacker to achieve remote code execution on the app backend server, potentially gaining full control of the server."
},
{
"lang": "es",
"value": "En la \u00faltima versi\u00f3n de vanna-ai/vanna, la funci\u00f3n `vanna.ask` es vulnerable a la ejecuci\u00f3n remota de c\u00f3digo debido a la inyecci\u00f3n r\u00e1pida. La causa principal es la falta de una zona de pruebas al ejecutar c\u00f3digo generado por LLM, lo que permite a un atacante manipular el c\u00f3digo ejecutado por la funci\u00f3n `exec` en `src/vanna/base/base.py`. Un atacante puede aprovechar esta vulnerabilidad para lograr la ejecuci\u00f3n remota de c\u00f3digo en el servidor backend de la aplicaci\u00f3n, obteniendo potencialmente el control total del servidor."
}
],
"metrics": {
"cvssMetricV30": [
{
"source": "security@huntr.dev",
"type": "Secondary",
"cvssData": {
"version": "3.0",
"vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"attackVector": "NETWORK",
"attackComplexity": "LOW",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 3.9,
"impactScore": 5.9
}
]
},
"weaknesses": [
{
"source": "security@huntr.dev",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-94"
}
]
}
],
"references": [
{
"url": "https://huntr.com/bounties/90620087-44ac-4e43-b659-3c5d30889369",
"source": "security@huntr.dev"
},
{
"url": "https://huntr.com/bounties/90620087-44ac-4e43-b659-3c5d30889369",
"source": "af854a3a-2127-422b-91ae-364da2661108"
}
]
}