NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Go

CVE-2024-5182: LocalAI path traversal vulnerability

highCVSS 4.0 8.7 · 3.0 7.5GHSA-cpcx-r2gq-x893

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.

Published Jun 20, 2024 · Updated Aug 7, 2024

Affected packages

github.com/go-skynet/LocalAI

Ecosystem
Go
Affected
< 2.16.0
Fixed in
2.16.0
Check
go list -m github.com/go-skynet/LocalAI

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More Go vulnerabilities

All Go entries