SCA: security update for github.com/go-skynet/LocalAI (GHSA-cpcx-r2gq-x893)

high Tenable Cloud Security Plugin ID 413998

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2024-5182)

See Also

https://github.com/advisories/GHSA-cpcx-r2gq-x893

Plugin Details

Severity: High

ID: 413998

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 4.3

Percentile: 53.37

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9.4

Temporal Score: 7.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:C/A:C

CVSS Score Source: CVE-2024-5182

CVSS v3

Risk Factor: Critical

Base Score: 9.1

Temporal Score: 8.2

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: High

Base Score: 8.7

Threat Score: 7.7

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 6/20/2024

Vulnerability Publication Date: 6/19/2024

Reference Information

CVE: CVE-2024-5182

cwe: CWE-22