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-5182

9.1 · CRITICAL
Published Jun 20, 2024 mudler CWE-22 EPSS 25.54% (98th pctl)

Overview

CVE-2024-5182 is a critical-severity vulnerability affecting mudler localai. It was published on June 20, 2024 and has a CVSS 3.1 base score of 9.1 (CRITICAL).

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

Technical Description

A path traversal vulnerability exists in mudler/localai version 2.14.0, where an attacker can exploit the `model` parameter during the model deletion process to delete arbitrary files. Specifically, by crafting a request with a manipulated `model` parameter, an attacker can traverse the directory structure and target files outside of the intended directory, leading to the deletion of sensitive data. This vulnerability is due to insufficient input validation and sanitization of the `model` parameter.

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.16.0 Affected

Frequently Asked Questions

What is CVE-2024-5182?

CVE-2024-5182 is a critical-severity vulnerability affecting mudler localai. It was published on June 20, 2024 and has a CVSS 3.1 base score of 9.1 (CRITICAL).

How severe is CVE-2024-5182?

This vulnerability has a CVSS 3.1 base score of 9.1, rated CRITICAL. 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-5182?

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-5182?

CyberStrike's AI-powered security agents can automatically detect CVE-2024-5182 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.