VDB
Sign up
HIGH7.5

GO-2024-3104

Ollama can extract members of a ZIP archive outside of the parent directory in github.com/ollama/ollama

Quick fix

GO-2024-3104 — github.com/ollama/ollama: upgrade to the fixed version with the command below.

go get github.com/ollama/ollama@v0.1.47

Details

Ollama can extract members of a ZIP archive outside of the parent directory in github.com/ollama/ollama

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/github.com/ollama/ollama
Introduced in: 0Fixed in: 0.1.47
Fixgo get github.com/ollama/ollama@v0.1.47

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/ollama/ollama"]}'