Server-side Request Forgery (SSRF) Affecting llama-cpp-python package, versions [0.2.30, 0.2.72)
Threat Intelligence
Exploit Maturity
Proof of concept
EPSS
0.04% (10th
percentile)
Do your applications use this vulnerable package?
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 applications- Snyk ID SNYK-PYTHON-LLAMACPPPYTHON-6836783
- published 12 May 2024
- disclosed 10 May 2024
- credit retr0reg
Introduced: 10 May 2024
CVE-2024-34359 Open this link in a new tabHow to fix?
Upgrade llama-cpp-python
to version 0.2.72 or higher.
Overview
llama-cpp-python is a Python bindings for the llama.cpp library
Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) through the __init__
constructor and __call__
method. An attacker can execute arbitrary code by injecting malicious templates into the chat template
which is processed unsafely.
References
CVSS Scores
version 3.1