[GH-ISSUE #8137] golang.org/x/crypto version in go.mod has critical CVE #51705

Closed
opened 2026-04-28 20:46:46 -05:00 by GiteaMirror · 2 comments
Owner

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

What is the issue?

Using grype on Ollama's binary (latest version) yields CVE-2024-45337: x/crypto/ssh: misuse of ServerConfig.PublicKeyCallback may cause authorization bypass

go-module: golang.org/x/crypto (v0.23.0) identified via go-module-buildinfo-entry

Whilst this is actually not regarded as an issue in the crypto library by the golang community , it still appears on widely used scanners as such and it would be nice to get fixed.
Mitigation is available in crypto library version 0.31.0

OS

No response

GPU

No response

CPU

No response

Ollama version

0.5.3

Originally created by @pivotal-marcela-campo on GitHub (Dec 17, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/8137 ### What is the issue? Using grype on Ollama's binary (latest version) yields [CVE-2024-45337]( https://nvd.nist.gov/vuln/detail/CVE-2024-45337): **x/crypto/ssh: misuse of ServerConfig.PublicKeyCallback may cause authorization bypass** go-module: golang.org/x/crypto (v0.23.0) identified via go-module-buildinfo-entry Whilst this is actually not regarded as an issue in the crypto library [by the golang community](https://github.com/golang/go/issues/70779) , it still appears on widely used scanners as such and it would be nice to get fixed. Mitigation is available in crypto library version 0.31.0 ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version 0.5.3
GiteaMirror added the bug label 2026-04-28 20:46:46 -05:00
Author
Owner

@aryaksudheer commented on GitHub (Dec 19, 2024):

It will be helpful to get this fix, as the CVE vulnerability is being flagged in security scans.

<!-- gh-comment-id:2553369627 --> @aryaksudheer commented on GitHub (Dec 19, 2024): It will be helpful to get this fix, as the CVE vulnerability is being flagged in security scans.
Author
Owner

@pdevine commented on GitHub (Dec 20, 2024):

Fixed in #8172

<!-- gh-comment-id:2557763959 --> @pdevine commented on GitHub (Dec 20, 2024): Fixed in #8172
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#51705