vLLM
vLLM vulnerable to timing attack at bearer auth
vLLM is an inference and serving engine for large language models (LLMs). Before version 0.11.0rc2, the API key support in vLLM performs validation using a method that was vulnerable to a timing attack. API key validation uses a string comparison that takes longer the more characters the provided API key gets correct. Data analysis across many attempts could allow an attacker to determine when it finds the next correct character in the key sequence. Deployments relying on vLLM's built-in API key validation are vulnerable to authentication bypass using this technique. Version 0.11.0rc2 fixes the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 0.11.0rc2
Fixed in 0.11.0rc2
Mitigation
Upgrade vllm to 0.11.0rc2 or later.
References
- Vendor advisory github.com/vllm-project/vllm/security/advisori…
- Patch github.com/vllm-project/vllm/commit/ee10d7e6ff…
- Release notes github.com/vllm-project/vllm/releases/tag/v0.1…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.