CVE-2024-5565

HIGHCVSS 8.1/10EPSS 14.96%

Last modified

CVE-2024-5565 is a high-severity vulnerability rated 8.1/10 on the CVSS scale. 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.. EPSS estimates a 14.96% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
8.1/10

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

EPSS Probability
14.96%

96.3th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

References

Timeline

Published
Last Modified
Status
Deferred

Frequently Asked Questions

What is CVE-2024-5565?
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.
How severe is CVE-2024-5565?
CVE-2024-5565 has a CVSS score of 8.1/10 (HIGH severity). The EPSS model estimates a 14.96% probability of exploitation in the next 30 days.
How do I fix CVE-2024-5565?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2024-5565?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST