PyPI: llama-cpp-python
CVE-2024-34359
Safety vulnerability ID: SFTY-20240514-19433
Safety legacy ID: pyup.io-70912
Llama-cpp-python version 0.2.72 addresses a security issue by fixing a Remote Code Execution vulnerability caused by Server-Side Template Injection in Model Metadata.
Overview
llama-cpp-python vulnerable to Remote Code Execution by Server-Side Template Injection in Model Metadata
Advisory
Llama-cpp-python version 0.2.72 addresses a security issue by fixing a Remote Code Execution vulnerability caused by Server-Side Template Injection in Model Metadata.
How to Fix
Mitigation and Workarounds
---
Vulnerable Functions
Functions linked to known vulnerabilities.
References
- https://getsafety.com/vulnerabilities/SFTY-20240514-19433/CVE-2024-34359
- https://github.com/abetlen/llama-cpp-python/security/advisories/GHSA-56xg-wfcc-g829
- https://nvd.nist.gov/vuln/detail/CVE-2024-34359
- https://github.com/abetlen/llama-cpp-python/commit/b454f40a9a1787b2b5659cd2cb00819d983185df
- https://github.com/pypa/advisory-database/tree/main/vulns/llama-cpp-python/PYSEC-2026-392.yaml
- https://pypi.org/project/llama-cpp-python
- https://github.com/advisories/GHSA-56xg-wfcc-g829
Verified by Safety
Our Cybersecurity Intelligence Team reviewed this vulnerability. We combine public data with our own research to find issues not yet reported to public sources.
Learn more
