Tóm tắt nhanh
- CVE-2024-2952 là lỗ hổng mức NGHIÊM TRỌNG (CVSS 9.8) ảnh hưởng litellm, litellm (litellm).
- Xác suất bị khai thác trong 30 ngày tới (EPSS): 1.3%, cao hơn 69.8% các lỗ hổng khác.
- Cách xử lý: cập nhật lên 1.34.42 hoặc mới hơn.
| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|
| litellm PyPI | < 1.34.42
| 1.34.42
|
| litellm | < 1.34.42
| 1.34.42
|
Mô tả
BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the /completions endpoint. The vulnerability arises from the hf_chat_template method processing the chat_template parameter from the tokenizer_config.json file through the Jinja template engine without proper sanitization. Attackers can exploit this by crafting malicious tokenizer_config.json files that execute arbitrary code on the server.
Mô tả của NVD
BerriAI/litellm is vulnerable to Server-Side Template Injection (SSTI) via the `/completions` endpoint. The vulnerability arises from the `hf_chat_template` method processing the `chat_template` parameter from the `tokenizer_config.json` file through the Jinja template engine without proper sanitization. Attackers can exploit this by crafting malicious `tokenizer_config.json` files that execute arbitrary code on the server.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí