Vulnerability in lmdeploy (GHSA-39wr-7q6h-cf68)
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
A vulnerability tracked as GHSA-39wr-7q6h-cf68 has been found in lmdeploy.
Attackers can target a specific entry point like _is_safe_url over the network to misuse the product.
Risk of unauthorized operations or information disclosure.
What to do: upgrade lmdeploy to 0.15.0 or later.
If unsure, ask your IT team or search "lmdeploy GHSA-39wr-7q6h-cf68" on the vendor's site.
GHSA-39wr-7q6h-cf68 (lmdeploy) — CWE-436
Attack surface: _is_safe_url / requests
Patched: 0.15.0 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-436) exists in lmdeploy. Attackers reach the vulnerable code path via _is_safe_url.
Check the vendor advisory for the affected versions of lmdeploy. Attack surface: _is_safe_url / requests.
Severity: ?. Risk of unauthorized operations or information disclosure.
Update to 0.15.0.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'lmdeploy' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'lmdeploy' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
lmdeployを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade lmdeploy to 0.15.0ステージング環境で 0.15.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| piplmdeploy |
< 0.15.0→ 0.15.0 |
0.15.0 |
| InternLMlmdeploy | — | Not listed |
| PyPIlmdeploy |
≥ 0.12.3, < 0.15.0→ 0.15.0 |
0.15.0 |
Original description The description as published by the source.
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.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- web github.com
- web github.com