CVE-2024-5565
The Vanna library uses a prompt function to present the user with …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- research.jfrog.com/vulnerabilities/vanna-prompt-injection-rce-jfsa-2024-001034449/
- nvd.nist.gov/vuln/detail/CVE-2024-5565
- research.jfrog.com/vulnerabilities/vanna-prompt-injection-rce-jfsa-2024-001034449
- github.com/advisories/GHSA-7735-w2jp-gvg6
- nvd.nist.gov/vuln/detail/CVE-2024-5565
- cve.org/CVERecord?id=CVE-2024-5565
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.