Skops unsafe deserialization
CVE-2024-37065 · GHSA-q49c-6v6g-wgq3 · published 2024-06-04 · updated 2024-06-05
- Severity
- High
- CVSS score
- 7.8
- Chance of exploitation (EPSS)
- 0.24%
- Fixed in
- No fix yet
- Exploitation No known exploitation
- Automatable No
- Technical impact Total
- CISA SSVC
Deserialization of untrusted data can occur in versions 0.6 or newer of the skops python library, enabling a maliciously crafted model to run arbitrary code on an end user's system when loaded.
No fixed release is listed yet for skops. Follow the source advisory for updates, and until one ships:
General guidance from ShieldPi, not a vendor fix
- Unsafe deserialization. Do not let it load files, models or data from sources you do not trust, and keep its RPC and socket ports reachable only from localhost or hosts you trust.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| skops | PyPI | >= 0.6, <= 0.9 | No fix yet |
- CriticalLMDeploy has Remote Code Execution by Pickle Deserialization via handle_zmq_recv in lmdeploy/lmdeploy/pytorch/disagg/conn/engine_conn.pylmdeploy
- CriticalLMdeploy has Remote Code Execution by Pickle Deserialization via zmq_rpc.call_and_response() in InterLM/lmdeploylmdeploy
- CriticalSGLang: Unauthenticated RCE via --enable-custom-logit-processorsglang
- CriticalSGLanG: Multimodal scheduler deserializes untrusted pickle data on 0.0.0.0 ROUTER socketsglang
- Criticaln8n: HTTP Request Node Pagination Prototype Pollution to RCEn8n, n8n, n8n
- Criticaln8n Has an XML Node Prototype Pollution Patch Bypassn8n, n8n, n8n
- HighSKOPS Card.get_model happily allows arbitrary code executionskops
- HighSkops may allow MethodNode to access unexpected object fields through dot notation, leading to arbitrary code execution at load timeskops
- HighSkops has Inconsistent Trusted Type Validation that Enables Hidden `operator` Methods Executionskops
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.