CVE-2024-5181

Command Injection in mudler/localai

Published Jun 26, 2024 CVSS 3.0 · 9.8 Critical EPSS 2.7% KEV · Not listed
Description
A command injection vulnerability exists in the mudler/localai version 2.14.0. The vulnerability arises from the application's handling of the backend parameter in the configuration file, which is used in the name of the initialized process. An attacker can exploit this vulnerability by manipulating the path of the vulnerable binary file specified in the backend parameter, allowing the execution of arbitrary code on the system. This issue is due to improper neutralization of special elements used in an OS command, leading to potential full control over the affected system.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-46427 A command injection vulnerability exists in the mudler/localai version 2.14.0. The vulnerability arises from the application's handling of the backend parameter in the configuration file, which is used in the name of the initialized process. An attacker can exploit this vulnerability by manipulating the path of the vulnerable binary file specified in the backend parameter, allowing the execution of arbitrary code on the system. This issue is due to improper neutralization of special elements used in an OS command, leading to potential full control over the affected system.
History
Type Values Removed Values Added
Metrics epss

{'score': 0.02278}

epss

{'score': 0.02145}

Type Values Removed Values Added
First Time appeared Mudler
Mudler localai
CPEs cpe:2.3:a:mudler:localai:2.14.0:*:*:*:*:*:*:*
Vendors & Products Mudler
Mudler localai
Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Aug 1, 2024, 9:03 PM
Reserved
May 21, 2024, 6:08 PM
Status
Analyzed
Published
Jun 26, 2024, 3:15 AM
Modified
Jun 17, 2026, 8:15 AM