Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

x/vulndb: potential Go vuln in github.com/ollama/ollama: CVE-2024-39720 #3245

Closed
GoVulnBot opened this issue Oct 31, 2024 · 1 comment
Closed
Assignees
Labels

Comments

@GoVulnBot
Copy link

Advisory CVE-2024-39720 references a vulnerability in the following Go modules:

Module
github.com/ollama/ollama

Description:
An issue was discovered in Ollama before 0.1.46. An attacker can use two HTTP requests to upload a malformed GGUF file containing just 4 bytes starting with the GGUF custom magic header. By leveraging a custom Modelfile that includes a FROM statement pointing to the attacker-controlled blob file, the attacker can crash the application through the CreateModel route, leading to a segmentation fault (signal SIGSEGV: segmentation violation).

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.3.14
summary: CVE-2024-39720 in github.com/ollama/ollama
cves:
    - CVE-2024-39720
references:
    - advisory: https://nvd.nist.gov/vuln/detail/CVE-2024-39720
    - web: https://github.com/ollama/ollama/compare/v0.1.45...v0.1.46#diff-782c2737eecfa83b7cb46a77c8bdaf40023e7067baccd4f806ac5517b4563131L417
    - web: https://oligosecurity.webflow.io/blog/more-models-more-probllms
source:
    id: CVE-2024-39720
    created: 2024-10-31T21:01:24.9265414Z
review_status: UNREVIEWED

@gopherbot
Copy link
Contributor

Change https://go.dev/cl/624515 mentions this issue: data/reports: add GO-2024-3245

@zpavlinovic zpavlinovic self-assigned this Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants