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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: JFROG

Published: 2024-05-31T14:24:21.663Z

Updated: 2024-08-01T21:18:06.558Z

Reserved: 2024-05-31T13:56:13.026Z

Link: CVE-2024-5565

cve-icon Vulnrichment

Updated: 2024-08-01T21:18:06.558Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-31T15:15:09.673

Modified: 2024-07-03T02:09:05.567

Link: CVE-2024-5565

cve-icon Redhat

No data.