CVE-2024-2952 is a critical Server-Side Template Injection (SSTI) vulnerability affecting BerriAI/litellm, specifically through its /completions endpoint. This flaw allows unauthenticated attackers to execute arbitrary code on the server by manipulating the chat_template parameter within the tokenizer_config.json file, which is unsafely processed by the Jinja template engine. With a CVSS score of 9.8 (CRITICAL), it presents a severe risk due to its network-based attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability. Currently, there is no known active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion surrounding this vulnerability.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 1.34.42CPE matchmatch criteria | cpe:2.3:a:litellm:litellm:*:*:*:*:*:*:*:* |
CVSS version used by this source: 3.0
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
The average CVE in this peer group has 0.0 Twitter, 0.1 Reddit, 0.3 Bluesky, 0.3 Mastodon, and 2.4 GitHub mentions.
The average CVE in this peer group has 0.3 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.