Advisory

GHSA-846m-99qv-67mg

Also known as: CVE-2024-45436, GO-2024-3104

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-08-29 03:30 UTC
Modified
2024-08-30 17:42 UTC

Affected packages and fixes

github.com/ollama/ollama

Go · All systems

Affected

  • introduced 0, fixed 0.1.47 (semver)

Fixed versions

0.1.47

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences