LMDeploy through 0.14.0, fixed in commit 03c3130, contains a server-side request forgery (SSRF) vulnerability in the _load_http_url function within the connection.py media handler, where the private-IP guard validates only the original URL without re-validating hosts after HTTP redirects. An unauthenticated attacker can submit a crafted image_url to the chat completions endpoint pointing to an attacker-controlled host that returns a redirect to a private IP or cloud-metadata endpoint, causing the server to follow the redirect and expose internal service content through the model pipeline.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N · Attack vector: Network| https://github.com/InternLM/lmdeploy/commit/03c313006d17cc3feae86b633c44206a997c44db | Patch |
| https://github.com/InternLM/lmdeploy/pull/4734 | Issue TrackingPatch |
| https://www.vulncheck.com/advisories/lmdeploy-server-side-request-forgery-via-http-redirect-bypass | ExploitPatchThird Party Advisory |
| https://github.com/InternLM/lmdeploy/issues/4761 | ExploitIssue TrackingMitigation |
A short explanation of who is affected, the impact and what to do, written only from this record's data.
AI isn't configured on this server (set AI_PROVIDER and an API key).
Add the affected products to your watchlist and get an e-mail when new CVEs list your versions.
+ Internlm Lmdeploy