Skip to content

x/vulndb: potential Go vuln in github.com/ollama/ollama: GHSA-9gcr-28rp-cc24 #3559

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
GoVulnBot opened this issue Mar 22, 2025 · 3 comments
Assignees
Labels
high priority triaged waiting the issue is waiting for additional information from an external source

Comments

@GoVulnBot
Copy link

Advisory GHSA-9gcr-28rp-cc24 references a vulnerability in the following Go modules:

Module
github.com/ollama/ollama

Description:
A vulnerability in ollama/ollama versions <=0.3.14 allows a malicious user to upload and create a customized GGUF model file on the Ollama server. This can lead to a division by zero error in the ggufPadding function, causing the server to crash and resulting in a Denial of Service (DoS) attack.

References:

Cross references:

See doc/quickstart.md for instructions on how to triage this report.

id: GO-ID-PENDING
modules:
    - module: github.com/ollama/ollama
      vulnerable_at: 0.6.2
summary: Ollama Divide By Zero vulnerability in github.com/ollama/ollama
cves:
    - CVE-2025-0317
ghsas:
    - GHSA-9gcr-28rp-cc24
references:
    - advisory: https://github.com/advisories/GHSA-9gcr-28rp-cc24
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2025-0317
    - web: https://huntr.com/bounties/a9951bca-9bd8-49b2-b143-4cd4219f9fa0
source:
    id: GHSA-9gcr-28rp-cc24
    created: 2025-03-22T01:01:24.088549736Z
review_status: UNREVIEWED

@thatnealpatel thatnealpatel added high priority triaged waiting the issue is waiting for additional information from an external source and removed NeedsTriage labels Mar 25, 2025
@thatnealpatel
Copy link
Member

GHSA lists no published patch.

@gopherbot

This comment has been minimized.

@thatnealpatel thatnealpatel self-assigned this Mar 26, 2025
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/661355 mentions this issue: data/reports: add 4 reports

gopherbot pushed a commit that referenced this issue Mar 31, 2025
  - data/reports/GO-2025-3548.yaml
  - data/reports/GO-2025-3557.yaml
  - data/reports/GO-2025-3558.yaml
  - data/reports/GO-2025-3559.yaml

Updates #3548
Updates #3557
Updates #3558
Updates #3559

Change-Id: Iacc79cac5755612918f95062b7917700630c3a3e
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/661355
Reviewed-by: Damien Neil <dneil@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Neal Patel <nealpatel@google.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
high priority triaged waiting the issue is waiting for additional information from an external source
Projects
None yet
Development

No branches or pull requests

3 participants