Remote Code Execution in Llama Stack

6.3MEDIUM

CVE-2024-50050

Key Information:

Vendor

Meta Platforms, Inc

Status
Llama Stack
CVE ID
CVE ID:
CVE-2024-50050
Vendor
CVE Published:
23 October 2024

Timeline

Exploit known 95 days after it was published

  • 👾

    Exploit known to exist

  • 📰

    First article discovered by The Hacker News

  • Vulnerability published

Badges

📈 Score: 1,020👾 Exploit Exists📰 News Worthy

How risky is it?

  • Partly: Works over the network, but needs a login
  • Partly: Exploitation or a working exploit reported
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Check today

Find out if you're affected. If you are, patch.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Llama Stack. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Look for signs of compromise

Exploitation has been reported, so check logs on exposed Llama Stack systems for unusual requests or new processes from before you patched.

4Why it's rated "Check today"
  • Exploitation or a working exploit has been reported.
  • Its CVSS severity is medium (6.3).

What is CVE-2024-50050?

CVE-2024-50050 is a remote code execution vulnerability in the Llama Stack, a framework developed by Meta Platforms, Inc. The flaw arises from the use of Python's pickle module for socket communication, allowing an attacker to send maliciously crafted data that can be deserialized and executed on the server. This vulnerability was present in versions prior to revision 7a8aa775e5a267cf8660d83140011a0b7f91e005 and has been addressed by switching the serialization format to JSON.

Meta released a patch for this vulnerability in version 0.0.41 on October 10, 2024, following responsible disclosure by security researchers. The fix eliminates the use of the insecure pickle module, reducing the risk of arbitrary code execution.

Potential Impact of CVE-2024-50050

  1. Arbitrary Code Execution: An attacker can execute arbitrary commands on the server running the Llama Stack, potentially gaining full control over the system.

Affected Version(s)

Llama Stack 0 < 7a8aa775e5a2…

News Articles

favicon imageGBHackers News

Critical Vulnerability in Meta Llama Framework Let Remote Attackers Execute Arbitrary Code

The Oligo Research team has disclosed a critical vulnerability in Meta’s widely used Llama-stack framework.

favicon imageCybersecurityNews

Critical Vulnerability in Meta's Llama Framework Exposes AI Systems to Remote Attacks

A critical security flaw, CVE-2024-50050, has been discovered in Meta’s Llama Stack framework, a widely used open-source tool for building and deploying generative AI (GenAI) applications.

References

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities · Report a correction

CVSS V3.1

Score:
6.3
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
Low
User Interaction:
None
Scope:
Unchanged
.