Remote code execution via pickle socket deserialization
Published Oct 23, 2024 · Updated Oct 24, 2024
Deserialization of untrusted data in Meta Platforms Llama Stack 0.0.40 and earlier allows remote authenticated users to execute code. The Meta Reference inference implementation passes ZeroMQ message bytes to pickle.loads through recv_pyobj without validating their object-reconstruction behavior. Exploitation requires network access to the internal ZeroMQ socket, and injected code runs with the privileges of the Llama Stack server process.
Summary
What happened
Deserialization of untrusted data in Meta Platforms Llama Stack 0.0.40 and earlier allows remote authenticated users to execute code. The Meta Reference inference implementation passes ZeroMQ message bytes to pickle.loads through recv_pyobj without validating their object-reconstruction behavior. Exploitation requires network access to the internal ZeroMQ socket, and injected code runs with the privileges of the Llama Stack server process.
The record
- CVE
- CVE-2024-50050
- Published
- Oct 23, 2024
- Updated
- Oct 24, 2024
- Vendor
- Meta Platforms, Inc.
- Product
- Llama Stack
- Classifications
- CWE-502, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Oct 23, 2024CVE publishedPublication date reported by the CVE source.
- Oct 24, 2024Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <7a8aa775e5a267cf8660d83140011a0b7f91e005
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Oligo ZeroMQ pickle proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo