SCA: security update for github.com/go-skynet/LocalAI (GHSA-wx43-g55g-2jf4)

critical Tenable Self-Hosted Container Security Plugin ID 420169

Description

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

- A command injection vulnerability exists in the `TranscriptEndpoint` of mudler/localai, specifically
within the `audioToWav` function used for converting audio files to WAV format for transcription. The
vulnerability arises due to the lack of sanitization of user-supplied filenames before passing them to
ffmpeg via a shell command, allowing an attacker to execute arbitrary commands on the host system.
Successful exploitation could lead to unauthorized access, data breaches, or other detrimental impacts,
depending on the privileges of the process executing the code. (CVE-2024-2029)

See Also

https://github.com/advisories/GHSA-wx43-g55g-2jf4

Plugin Details

Severity: Critical

ID: 420169

Version: Revision 1.11

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: 6.9

Percentile: 97.05

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.8

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

CVSS Score Source: CVE-2024-2029

CVSS v3

Risk Factor: Critical

Base Score: 9.8

Temporal Score: 8.8

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

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

CVSS v4

Risk Factor: Critical

Base Score: 9.3

Threat Score: 8.1

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/10/2024

Vulnerability Publication Date: 4/10/2024

Reference Information

CVE: CVE-2024-2029

cwe: CWE-78