Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2024-6095

5.8 · MEDIUM
Published Jul 6, 2024 mudler CWE-918 EPSS 2.65% (85th pctl)

Overview

CVE-2024-6095 is a medium-severity vulnerability affecting mudler localai. It was published on July 6, 2024 and has a CVSS 3.1 base score of 5.8 (MEDIUM).

This vulnerability has a CVSS 3.1 base score of 5.8, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical Description

A vulnerability in the /models/apply endpoint of mudler/localai versions 2.15.0 allows for Server-Side Request Forgery (SSRF) and partial Local File Inclusion (LFI). The endpoint supports both http(s):// and file:// schemes, where the latter can lead to LFI. However, the output is limited due to the length of the error message. This vulnerability can be exploited by an attacker with network access to the LocalAI instance, potentially allowing unauthorized access to internal HTTP(s) servers and partial reading of local files. The issue is fixed in version 2.17.

Remediation

Check the references section for vendor advisories and patches from mudler. Update localai to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
mudler localai >= 0, < 2.17.0 Affected

Frequently Asked Questions

What is CVE-2024-6095?

CVE-2024-6095 is a medium-severity vulnerability affecting mudler localai. It was published on July 6, 2024 and has a CVSS 3.1 base score of 5.8 (MEDIUM).

How severe is CVE-2024-6095?

This vulnerability has a CVSS 3.1 base score of 5.8, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2024-6095?

Check the references section for vendor advisories and patches from mudler. Update localai to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-6095?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-6095 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.