Arbitrary Code Injection Affecting github.com/mudler/localai/pkg/model package, versions <2.18.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
1.29% (67th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMMUDLERLOCALAIPKGMODEL-8132068
  • published29 Sept 2024
  • disclosed27 Sept 2024
  • creditmvlttt

Introduced: 27 Sep 2024

CVE-2024-6983  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade github.com/mudler/LocalAI/pkg/model to version 2.18.0 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection due to an incomplete fix of CVE-2024-5181. This is because the backend's handling of input sources receives inputs not only from the configuration file but also from other inputs.

CVSS Base Scores

version 4.0
version 3.1