Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Arbitrary Code Execution vulnerabilities in an interactive lesson.
Start learningUpgrade llama-cpp-python
to version 0.2.12 or higher.
llama-cpp-python is a Python bindings for the llama.cpp library
Affected versions of this package are vulnerable to Arbitrary Code Execution due to improper Llama._create_completion
suffix parameter check, allows an attacker to send string-like object which could actually lead to exploitation of this vulnerability.