Description
LMDeploy is a toolkit for compressing, deploying, and serving large language models. Versions prior to 0.12.3 have a Server-Side Request Forgery (SSRF) vulnerability in LMDeploy's vision-language module. The `load_image()` function in `lmdeploy/vl/utils.py` fetches arbitrary URLs without validating internal/private IP addresses, allowing attackers to access cloud metadata services, internal networks, and sensitive resources. Version 0.12.3 patches the issue.
Problem types
CWE-918: Server-Side Request Forgery (SSRF)
Product status
References
github.com/...deploy/security/advisories/GHSA-6w67-hwm5-92mq
github.com/...deploy/security/advisories/GHSA-6w67-hwm5-92mq
github.com/InternLM/lmdeploy/pull/4447
github.com/...ommit/71d64a339edb901e9005358e0633fbbab367d626
github.com/InternLM/lmdeploy/releases/tag/v0.12.3