Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2024-2952

published critical CVSS 3.0 · 9.8

Server-Side Template Injection in BerriAI/litellm

Published
10 Apr 2024, 17:07:52 UTC
Updated
01 Aug 2024, 19:32:42 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
berriai — berriai/litellmunspecified to < 1.34.42 Affected Not stated @huntr_ai
berriai — litellm1.23.2 to < 1.34.42 · Other versions: unknown Affected Not stated CISA-ADP

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.

en · @huntr_ai · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.0
Base score
9.8 / 10
Severity
critical
Provider
@huntr_ai · cna
Vector string
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
berriai berriai/litellm unspecified to < 1.34.42 (affected · custom) @huntr_ai · cna
berriai litellm 1.23.2 to < 1.34.42 (affected · custom)Default: unknown CISA-ADP · adp

Weaknesses

1
  • CWE-76 CWE-76 Improper Neutralization of Equivalent Special Elements (@huntr_ai · cna)

References

2

Provider assertions

3

@huntr_ai · cna

Server-Side Template Injection in BerriAI/litellm

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
97005cbd8450becb8f541dcf5338be6684c9102b959d3b42940aa34dabffff96
Ingested
23 Sep 2026, 08:21:57 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected