Aller au contenu principal
CRITICAL

CVE-2024-2952

CVSS v3

9.8

CRITICAL

Score EPSS

1.5 %

probabilité d’exploitation

CISA KEV

Non

exploitation connue

Exploitation

statut SSVC

Description

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.

Détails techniques

Publiée le
2024-04-10

Questions fréquentes

Qu’est-ce que CVE-2024-2952 ?

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.

CVE-2024-2952 est-elle activement exploitée ?

Aucune exploitation active de CVE-2024-2952 n’est confirmée. Le score EPSS est de 1.5 %, soit la probabilité estimée d’exploitation dans les 30 prochains jours.

Quel est le score CVSS de CVE-2024-2952 ?

CVE-2024-2952 a un score de base CVSS v3 de 9.8 (gravité CRITICAL).

CVE-2024-2952 touche-t-elle votre environnement ?

Utilisez isMalicious pour vérifier si l’une de vos IP ou l’un de vos domaines est associé aux IOC de cette vulnérabilité.

Sans carte bancaire · 500 vérifications gratuites par mois · Clé API gratuite