CVE-2024-6095

Scores

EPSS

0.892high89.2%
0%20%40%60%80%100%

Percentile: 89.2%

CVSS

5.8medium3.x
0246810

CVSS Score: 5.8/10

All CVSS Scores

CVSS 3.x
5.8

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

Description

A vulnerability in the /models/apply endpoint of mudler/localai versions 2.15.0 allows for Server-Side Request Forgery (SSRF) and partial Local File Inclusion (LFI). The endpoint supports both http(s):// and file:// schemes, where the latter can lead to LFI. However, the output is limited due to the length of the error message. This vulnerability can be exploited by an attacker with network access to the LocalAI instance, potentially allowing unauthorized access to internal HTTP(s) servers and partial reading of local files. The issue is fixed in version 2.17.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

nvd

CWEs

CWE-918

Exploits

Exploit ID: CVE-2024-6095

Source: github-poc

URL: https://github.com/Abdurahmon3236/-CVE-2024-6095

Vulnerable Software (1)

Type: Configuration

Vendor: *

Product: localai

Operating System: * * *

Trait:
{  "cpe_match": [    {      "cpe23uri": "cpe:2.3:a:mudler:localai:*:*:*:*:*:*:*:*",      "versionEndExcluding": "2.17.0",      "vulnerable": true    }  ],  "operator": "OR"}

Source: nvd

End of list