GHSA-9gcr-28rp-cc24

Suggest an improvement
Source
https://github.com/advisories/GHSA-9gcr-28rp-cc24
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/03/GHSA-9gcr-28rp-cc24/GHSA-9gcr-28rp-cc24.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9gcr-28rp-cc24
Aliases
Published
2025-03-20T12:32:52Z
Modified
2025-03-31T17:44:15.917915Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
Ollama Divide By Zero vulnerability
Details

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.

Database specific
{
    "nvd_published_at": "2025-03-20T10:15:52Z",
    "cwe_ids": [
        "CWE-369"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2025-03-22T00:01:44Z"
}
References

Affected packages

Go / github.com/ollama/ollama

Package

Name
github.com/ollama/ollama
View open source insights on deps.dev
Purl
pkg:golang/github.com/ollama/ollama

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
0.3.14