Lucene search

K
osvGoogleOSV:GHSA-CPCX-R2GQ-X893
HistoryJun 20, 2024 - 12:30 a.m.

LocalAI path traversal vulnerability

2024-06-2000:30:46
Google
osv.dev
5
localai
path traversal
version 2.14.0
model parameter
directory structure
sensitive data
input validation

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

7

Confidence

High

EPSS

0.001

Percentile

18.7%

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.

CVSS3

9.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

HIGH

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

AI Score

7

Confidence

High

EPSS

0.001

Percentile

18.7%

Related for OSV:GHSA-CPCX-R2GQ-X893