Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS04NDZtLTk5cXYtNjdtZ84AA_AR
Ollama can extract members of a ZIP archive outside of the parent directory
extractFromZipFile
in model.go
in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS04NDZtLTk5cXYtNjdtZ84AA_AR
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 3 months ago
Updated: 3 months ago
CVSS Score: 7.5
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Identifiers: GHSA-846m-99qv-67mg, CVE-2024-45436
References:
- https://nvd.nist.gov/vuln/detail/CVE-2024-45436
- https://github.com/ollama/ollama/pull/5314
- https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47
- https://github.com/ollama/ollama/commit/123a722a6f541e300bc8e34297ac378ebe23f527
- https://github.com/advisories/GHSA-846m-99qv-67mg
Blast Radius: 1.0
Affected Packages
go:github.com/ollama/ollama
Dependent packages: 0Dependent repositories: 0
Downloads:
Affected Version Ranges: < 0.1.47
Fixed in: 0.1.47
All affected versions: 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.6, 0.0.7, 0.0.8, 0.0.9, 0.0.10, 0.0.11, 0.0.12, 0.0.13, 0.0.14, 0.0.15, 0.0.16, 0.0.17, 0.0.18, 0.0.19, 0.0.20, 0.0.21, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.1.19, 0.1.20, 0.1.21, 0.1.22, 0.1.23, 0.1.24, 0.1.25, 0.1.26, 0.1.27, 0.1.28, 0.1.29, 0.1.30, 0.1.31, 0.1.32, 0.1.33, 0.1.34, 0.1.35, 0.1.36, 0.1.37, 0.1.38, 0.1.39, 0.1.40, 0.1.41, 0.1.42
All unaffected versions: 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.3.13, 0.3.14, 0.4.0, 0.4.1, 0.4.2