CVE-2024-5182
Last modified
CVE-2024-5182 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. 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. EPSS estimates a 25.54% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Mudler | Localai | < 2.16.0 |
References
- https://huntr.com/bounties/f7a87f29-c22a-48e8-9fce-b6d5a273e545Exploit, Issue Tracking, Patch
- https://huntr.com/bounties/f7a87f29-c22a-48e8-9fce-b6d5a273e545Exploit, Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-5182?
How severe is CVE-2024-5182?
How do I fix CVE-2024-5182?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-51814Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2024-51815Improper Control of Generation of Code ('Code Injection') vu…9
- CVE-2024-51816Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2024-51817Missing Authorization vulnerability in CodeZel Combo WP Rewr…5.4
- CVE-2024-51818Improper Neutralization of Special Elements used in an SQL C…9.3
- CVE-2024-51819Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2024-51820Improper Neutralization of Special Elements used in an SQL C…6.5
- CVE-2024-51821Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2024-51822Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2024-51823Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2024-51824Improper Neutralization of Input During Web Page Generation …6.5
- CVE-2024-51825Improper Neutralization of Input During Web Page Generation …6.5
Are you affected by CVE-2024-5182?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
