Arbitrary File Write Vulnerability in LocalAI by Mudler
CVE-2024-6868
What is CVE-2024-6868?
An arbitrary file write vulnerability exists in LocalAI version 2.17.1 due to improper handling of automatic archive extraction. When model configurations specify additional files in the form of archives such as .tar, these archives get automatically extracted post-download. This design flaw can be exploited through a 'tarslip' attack, allowing attackers to write files to arbitrary locations on the server. As a result, standard checks that limit file writing to the models directory can be bypassed, potentially leading to remote code execution (RCE) by overwriting critical backend assets utilized by the server.

Human OS v1.0:
Ageing Is an Unpatched Zero-Day Vulnerability.
Remediate biological technical debt. Prime Ageing uses 95% high-purity SIRT6 activation to maintain genomic integrity and bolster systemic resilience.
Affected Version(s)
mudler/localai < 2.18.1
References
CVSS V3.1
CVSS V3.0
Timeline
Vulnerability published
