PT-2024-37915 · Unknown · Mudler/Localai

CVE-2024-6868

·

Published

2024-10-29

·

Updated

2024-11-13

CVSS v3.1

8.1

High

VectorAV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
Name of the Vulnerable Software and Affected Versions mudler/LocalAI version 2.17.1
Description The issue arises from improper handling of automatic archive extraction in model configurations. When archives (e.g., .tar) are specified, they are automatically extracted after downloading, potentially allowing for a 'tarslip' attack. This can enable writing files to arbitrary server locations, bypassing normal restrictions to the models directory. The issue can lead to remote code execution (RCE) by overwriting backend assets.
Recommendations For mudler/LocalAI version 2.17.1, consider disabling automatic archive extraction until a patch is available to prevent potential exploitation. Restrict access to model configurations that specify additional files as archives to minimize the risk of arbitrary file writes.

Exploit

Fix

RCE

Link Following

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2024-6868

Affected Products

Mudler/Localai