Improper Access Control Affecting github.com/ollama/ollama/server package, versions <0.1.29


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    Exploit Maturity
    Proof of concept
    EPSS
    0.05% (17th 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 ID SNYK-GOLANG-GITHUBCOMOLLAMAOLLAMASERVER-6592877
  • published 9 Apr 2024
  • disclosed 8 Apr 2024
  • credit Kevin Henry, Ristin Rivera, Javed Samuel, Roger Meyer

How to fix?

Upgrade github.com/ollama/ollama/server to version 0.1.29 or higher.

Overview

Affected versions of this package are vulnerable to Improper Access Control due to improper handling of DNS queries. An attacker can gain unauthorized access to the application's full API and perform actions such as chatting with a large language model, deleting a model, or causing resource exhaustion.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
8.6 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    Low
  • Integrity (I)
    Low
  • Availability (A)
    High