[GH-ISSUE #5774] Docker image has Critical CVE-2024-24790 due to Go version 1.22.1 #29356

Closed
opened 2026-04-22 08:08:35 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @lreed-mdsol on GitHub (Jul 18, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/5774

Originally assigned to: @dhiltgen on GitHub.

What is the issue?

The current (0.2.6) Docker build creates docker images with Critical CVE-2024-24790 due to Go version 1.22.1.
We found this when scanning with Prisma Tools.
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24790

Vulnerabilities found for image ollama/ollama:0.2.6: total - 19, critical - 1, high - 0, medium - 6, low - 12
| https://github.com/advisories/GHSA-49gw-vxvf-fc2g | critical | 9.80 | net/netip | 1.22.1 | fixed in 1.21.11, 1.22.4 |

This issue can be fixed by upgrading the build to use Go 1.22.4+

I created a PR to do this.
https://github.com/ollama/ollama/pull/5757

I did a simple test to make sure the Docker build succeeded.

Please let me know if more information is needed.
It would be great to get this updated ASAP to remove these Security Vulnerabilities.

OS

Docker

GPU

Nvidia

CPU

AMD

Ollama version

Docker 0.2.6

Originally created by @lreed-mdsol on GitHub (Jul 18, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/5774 Originally assigned to: @dhiltgen on GitHub. ### What is the issue? The current ([0.2.6](https://github.com/ollama/ollama/releases/tag/v0.2.6)) Docker build creates docker images with Critical CVE-2024-24790 due to Go version 1.22.1. We found this when scanning with Prisma Tools. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-24790 ``` Vulnerabilities found for image ollama/ollama:0.2.6: total - 19, critical - 1, high - 0, medium - 6, low - 12 | https://github.com/advisories/GHSA-49gw-vxvf-fc2g | critical | 9.80 | net/netip | 1.22.1 | fixed in 1.21.11, 1.22.4 | ``` This issue can be fixed by upgrading the build to use Go 1.22.4+ I created a PR to do this. https://github.com/ollama/ollama/pull/5757 I did a simple test to make sure the Docker build succeeded. Please let me know if more information is needed. It would be great to get this updated ASAP to remove these Security Vulnerabilities. ### OS Docker ### GPU Nvidia ### CPU AMD ### Ollama version Docker 0.2.6
GiteaMirror added the bug label 2026-04-22 08:08:35 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#29356