Miggo Logo

CVE-2025-29770: vLLM denial of service via outlines unbounded cache on disk

6.5

CVSS Score
3.1

Basic Information

EPSS Score
0.21065%
Published
3/19/2025
Updated
3/20/2025
KEV Status
No
Technology
TechnologyPython

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Package NameEcosystemVulnerable VersionsFirst Patched Version
vllmpip

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from outlines' cache being enabled by default through the @cache decorator applied to these class methods. These methods compile and cache grammar specifications (regex/CFG) to disk. As they lack size limits or cleanup mechanisms, repeated calls with unique schemas (via malicious requests) would accumulate cached files until disk space is exhausted. The patch addressed this by making caching opt-in via environment variable rather than default behavior.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

### Imp**t T** [outlin*s](*ttps://*ottxt-*i.*it*u*.io/outlin*s/l*t*st/) li*r*ry is on* o* t** ***k*n*s us** *y vLLM to support stru*tur** output (*.k.*. *ui*** ***o*in*). Outlin*s provi**s *n option*l ***** *or its *ompil** *r*mm*rs on t** lo**l *il*

Reasoning

T** vuln*r**ility st*ms *rom outlin*s' ***** **in* *n**l** *y ****ult t*rou** t** `@*****` ***or*tor *ppli** to t**s* *l*ss m*t*o*s. T**s* m*t*o*s *ompil* *n* ***** *r*mm*r sp**i*i**tions (r***x/***) to *isk. *s t**y l**k siz* limits or *l**nup m****