
Cloud Vulnerability DB
A community-led vulnerabilities database
A path traversal vulnerability was discovered in Ollama before version 0.1.47, specifically in the extractFromZipFile function within model.go. The vulnerability allows extraction of ZIP archive members outside of the intended parent directory (NVD, CVE).
The vulnerability is classified as CWE-22 (Improper Limitation of a Pathname to a Restricted Directory) and has received a CVSS v3.1 base score of 7.5 (HIGH) from NIST with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. CISA-ADP assessed it with a higher CVSS score of 9.1 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N (NVD).
The vulnerability could allow attackers to extract ZIP archive contents outside of the intended directory structure, potentially leading to unauthorized access to files and directories on the affected system (NVD).
The vulnerability has been patched in Ollama version 0.1.47. Users are advised to upgrade to this version or later to mitigate the security risk (GitHub Patch).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."