github.com/go-skynet/LocalAI
Affected
- introduced
0, fixed2.16.0(semver)
Fixed versions
2.16.0
Fix
- Fixed version
2.16.0go get github.com/go-skynet/[email protected]
Advisory
Also known as: CVE-2024-5182, GO-2024-2938
LocalAI path traversal vulnerability
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.
High Basis: The source's own band: HIGH
0, fixed 2.16.0 (semver)2.16.0
2.16.0go get github.com/go-skynet/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0