CVE-2024-5182 Path Traversal in mudler/localai
CriticalCVSS 9.1
EPSS 25.5%
- Published
- Updated
- Exploit status
- No public exploit known
Description
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| go-skynet github.com/go-skynet/LocalAI(Go) | < 2.16.0 | 2.16.0 |
| go-skynet github.com/go-skynet/LocalAI(Go) | All versions | No fix listed |
| mudler/localai | < 2.16.0 | 2.16.0 |
| mudler github.com/mudler/LocalAI | < 2.16.0 | 2.16.0 |
References
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- huntr.com exploit issue-tracking patch
- github.com vendor-advisory