GHSA-846m-99qv-67mg

Suggest an improvement
Source
https://github.com/advisories/GHSA-846m-99qv-67mg
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-846m-99qv-67mg/GHSA-846m-99qv-67mg.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-846m-99qv-67mg
Aliases
Published
2024-08-29T03:30:49Z
Modified
2024-08-30T17:42:26.645913Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • 8.7 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
Ollama can extract members of a ZIP archive outside of the parent directory
Details

extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.

Database specific
{
    "nvd_published_at": "2024-08-29T03:15:05Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-08-29T18:05:18Z"
}
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
Fixed
0.1.47