[GH-ISSUE #7355] Released binaries have High severity CVEs due to Go version 1.22.5 #4675

Closed
opened 2026-04-12 15:35:43 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @pivotal-marcela-campo on GitHub (Oct 25, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/7355

Originally assigned to: @dhiltgen on GitHub.

What is the issue?

Scanning linux binary with grype yields the following report

Screenshot 2024-10-25 at 11 49 39

Upgrading to 1.22.7+ for building would fix this issue:

3085c47bea/Dockerfile (L1)
3085c47bea/llama/Dockerfile (L2)
3085c47bea/go.mod (L3)

OS

Linux, macOS, Docker

GPU

Nvidia

CPU

Intel

Ollama version

0.3.14

Originally created by @pivotal-marcela-campo on GitHub (Oct 25, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/7355 Originally assigned to: @dhiltgen on GitHub. ### What is the issue? Scanning linux binary with `grype` yields the following report ![Screenshot 2024-10-25 at 11 49 39](https://github.com/user-attachments/assets/7c4fe7af-13d4-4ddc-9339-2bef323691a8) Upgrading to 1.22.7+ for building would fix this issue: https://github.com/ollama/ollama/blob/3085c47bea508e638c0b9f15a2f4c00afd83b66d/Dockerfile#L1 https://github.com/ollama/ollama/blob/3085c47bea508e638c0b9f15a2f4c00afd83b66d/llama/Dockerfile#L2 https://github.com/ollama/ollama/blob/3085c47bea508e638c0b9f15a2f4c00afd83b66d/go.mod#L3 ### OS Linux, macOS, Docker ### GPU Nvidia ### CPU Intel ### Ollama version 0.3.14
GiteaMirror added the bug label 2026-04-12 15:35:43 -05:00
Author
Owner

@rick-github commented on GitHub (Oct 25, 2024):

CVE-2024-34158 Stack exhaustion in go/build/constraint
CVE-2024-34156 Stack exhaustion in encoding/gob
CVE-2024-34155 Stack exhaustion in go/parser

<!-- gh-comment-id:2437667293 --> @rick-github commented on GitHub (Oct 25, 2024): [CVE-2024-34158](https://access.redhat.com/security/cve/cve-2024-34158) Stack exhaustion in go/build/constraint [CVE-2024-34156](https://access.redhat.com/security/cve/cve-2024-34156) Stack exhaustion in encoding/gob [CVE-2024-34155](https://access.redhat.com/security/cve/cve-2024-34155) Stack exhaustion in go/parser
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#4675