Lucene search

K
vulnrichment@huntr_aiVULNRICHMENT:CVE-2024-2029
HistoryApr 10, 2024 - 5:08 p.m.

CVE-2024-2029 Command Injection in mudler/localai

2024-04-1017:08:05
CWE-78
@huntr_ai
github.com
2
cve-2024-2029
command injection
mudler/localai
transcriptendpoint
audiotowav
vulnerability
arbitrary commands
unauthorized access
data breaches
host system

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

8

Confidence

Low

SSVC

Exploitation

poc

Automatable

yes

Technical Impact

total

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.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*"
    ],
    "vendor": "mudler",
    "product": "localai",
    "versions": [
      {
        "status": "affected",
        "version": "0",
        "lessThan": "2.10.0",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unknown"
  }
]

CVSS3

9.8

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

8

Confidence

Low

SSVC

Exploitation

poc

Automatable

yes

Technical Impact

total

Related for VULNRICHMENT:CVE-2024-2029