{"id":"CVE-2024-45436","aliases":["CVE-2024-45436","GHSA-846m-99qv-67mg","GO-2024-3104"],"related":[],"kind":"vulnerability","state":"published","title":"Ollama can extract members of a ZIP archive outside of the parent directory","summary":"extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"extractFromZipFile in model.go in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.","source":"cvelist"},{"lang":"en","text":"`extractFromZipFile` in `model.go` in Ollama before 0.1.47 can extract members of a ZIP archive outside of the parent directory.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Ollama can extract members of a ZIP archive outside of the parent directory in github.com/ollama/ollama","format":"markdown","source":"go"},{"lang":"es","text":"extractFromZipFile en model.go en Ollama anterior a 0.1.47 puede extraer miembros de un archivo ZIP fuera del directorio principal.","source":"nvd"}],"published":"2024-08-29T00:00:00.000Z","modified":"2026-06-17T07:54:12.700Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"}],"cwes":["CWE-22"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.1.47","status":"affected"}],"vendor":"ollama","product":"ollama","cpe":"cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.1.47"}],"ecosystem":"Go","package":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.1.47"}],"ecosystem":"Go","package":"github.com/ollama/ollama","purl":"pkg:golang/github.com/ollama/ollama","source":"go"},{"ranges":[{"status":"affected","fixed":"0.1.47"}],"vendor":"ollama","product":"ollama","cpe":"cpe:2.3:a:ollama:ollama:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ollama/ollama/pull/5314","tags":["fix","patch","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/ollama/ollama/compare/v0.1.46...v0.1.47","tags":["patch","web"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45436","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ollama/ollama/commit/123a722a6f541e300bc8e34297ac378ebe23f527","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/ollama/ollama","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-846m-99qv-67mg","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-08-29T14:16:22.466Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-45436","url":"https://www.cve.org/CVERecord?id=CVE-2024-45436","licence":"CVE Terms of Use","modified":"2024-08-29T14:16:30.189Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-846m-99qv-67mg","url":"https://github.com/advisories/GHSA-846m-99qv-67mg","licence":"CC-BY-4.0","modified":"2024-08-30T17:42:26.645Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2024-3104","url":"https://pkg.go.dev/vuln/GO-2024-3104","licence":"CC-BY-4.0","modified":"2024-12-12T22:00:24.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-45436","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-45436","licence":"Public domain","modified":"2026-06-17T07:54:12.700Z"}],"updatedAt":"2026-11-25T22:58:44.846Z","epss":{"score":0.0256,"percentile":0.85532,"date":"2026-12-01T12:00:22.000Z"}}