- CVSS
- HIGH · 8.1v3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2024-05-31
- Weakness
- CWE-94, CWE-94
- Source
- nvd.nist.gov/vuln/detail/CVE-2024-5565
Description
The Vanna library uses a prompt function to present the user with visualized results, it is possible to alter the prompt using prompt injection and run arbitrary Python code instead of the intended visualization code. Specifically - allowing external input to the library’s “ask” method with “visualize” set to True (default behavior) leads to remote code execution.
References
How GTK Cyber trains on this
AI security training at GTK Cyber covers the LLM and ML-pipeline vulnerability classes that vulnerabilities like CVE-2024-5565 fall into. Our hands-on courses are taught by Charles Givre and other practitioners who break and defend production AI systems.