LMDeploy URL parser disagreement permits SSRF filter bypass
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in lmdeploy 0.15.0.
LMDeploy is a toolkit for compressing, deploying, and serving large language models. From 0.12.3 until 0.15.0, _is_safe_url validates remote media URLs with urlparse while requests.Session().get interprets backslashes differently when sending the request. An attacker can provide a URL whose validation hostname appears globally routable but whose request destination resolves to an internal host, bypassing non-global address checks. Applications that accept attacker-controlled remote media URLs can therefore be induced to access internal HTTP services and expose data available from those services. This issue is fixed in version 0.15.0.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| InternLM | >=0.12.3 <0.15.0 | ||
| pypi: lmdeploy | >=0.12.3 <0.15.0 | 0.15.0 |
Timeline
Every event on this vulnerability
Embed
A live severity badge for an advisory, README or ticket