InternLM LMDeploy: Unauthenticated remote code execution via pickle deserialization
InternLM LMDeploy versions 0.9.0 through 0.18.0 contain an unsafe deserialization flaw in the /update_weights endpoint of the api_server. An unauthenticated remote attacker can send a crafted, base64-encoded pickle in the serialized_named_tensors field, which is loaded without validation and executes operating system commands as the api_server process. The attack requires only network access to the API server, and the default api_server bind is reachable without authentication.
InternLM · LMDeploy
