Vulnerability in Berriai Berriai/litellm

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` f…

EPSS: 0.014 (81.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2024-2952?
CVE-2024-2952 is a critical-severity vulnerability in Berriai Berriai/litellm, classified under CWE-76. CVSS score: 9.8/10. Published 2024-04-10.
How severe is CVE-2024-2952?
Critical severity. CVSS v3 base score is 9.8 out of 10.