CVE-2024-5182
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.
Does this matter?
EPSS puts the probability of exploitation in the next 30 days at 25.5%, higher than 98% of all known CVEs. Patch or mitigate before the next change window.
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.
- CVSS 3.1
- 9.1 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
- EPSS
- 25.54% probability · 98th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-22
- Affected
- mudler/localai
- Source
- security@huntr.dev
References
- https://github.com/mudler/localai/commit/1a3dedece06cab1acc3332055d285ac540a47f0ePatch
- https://huntr.com/bounties/f7a87f29-c22a-48e8-9fce-b6d5a273e545Exploit, Issue Tracking, Patch
- https://github.com/mudler/localai/commit/1a3dedece06cab1acc3332055d285ac540a47f0ePatch
- https://huntr.com/bounties/f7a87f29-c22a-48e8-9fce-b6d5a273e545Exploit, Issue Tracking, Patch
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.