ترجمة آلية لم تُراجَع بعد. النص الإنجليزي هو المرجع في حال الاختلاف.
الملخص
يحتوي InternLM LMDeploy من النسخة 0.9.0 حتى 0.18.0 على ثغرة تنفيذ أوامر عن بُعد دون مصادقة تتيح للمهاجمين عن بُعد تشغيل أوامر نظام التشغيل عن طريق إرسال بيانات تم إلغاء تسلسلها إلى نقطة النهاية /update_weights. يمكن للمهاجمين إرسال بيانات pickle مصممة ومشفرة بـ base64 في serialized_named_tensors، والتي تقوم دالة ForkingPickler.loads بإلغاء تسلسلها دون تحقق، لتنفيذ الأوامر بصفتهم عملية api_server.
المعالجة
المراجع
- تصحيحhttps://github.com/InternLM/lmdeploy/pull/4964
- تحذيرhttps://www.vulncheck.com/advisories/lmdeploy-0.9.0-through-0.18.0-unauthenticated-rce-via-update-weights-pickle-deserialization
- مرجعhttps://github.com/InternLM/lmdeploy
- مرجعhttps://github.com/InternLM/lmdeploy/blob/v0.18.0/lmdeploy/serve/openai/endpoints/management.py#L55-L60
- مرجعhttps://github.com/InternLM/lmdeploy/blob/v0.18.0/lmdeploy/turbomind/turbomind.py#L345
- مرجعhttps://github.com/InternLM/lmdeploy/issues/4698