ADVISORIES

Vulnerability

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. 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.

2 advisories report this vulnerability, across 1 ecosystem.

High severity Go 2

Advisories

  • GHSA-cpcx-r2gq-x893

    LocalAI path traversal vulnerability

    High CVE-2024-5182 Go Updated 8 July 2024
  • GO-2024-2938

    LocalAI path traversal vulnerability in github.com/go-skynet/LocalAI

    CVE-2024-5182 Go Updated 9 July 2024

References