data/reports: set fixed version for GO-2025-3824 - #6116
Conversation
CVE-2025-51471 (Ollama cross-domain token exposure) had no fixed version recorded, so every version of github.com/ollama/ollama is reported as vulnerable. The realm host check missing from server.auth.getAuthorizationToken was added in ollama/ollama#13738 (commit 7601f0e), first released in v0.14.3. server/auth.go is byte-identical between v0.9.6 and v0.14.2 (blob dcef5bf), so no earlier release carried the check. Also record ollama/ollama#13738 as the fix reference; the previously listed ollama/ollama#10750 is the reporter's proposed patch, which was closed unmerged.
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
I signed it! |
|
I signed it! wow |
|
I think this looks great. I really appreciate how thoroughly the change was handled, especially the effort to trace the actual fix and distinguish it from the earlier unmerged reference. From what I can verify, the vulnerability metadata now correctly identifies This should help prevent fixed Ollama versions from being incorrectly reported as vulnerable by tools consuming the Go vulnerability database. Nice work putting all the details together! |
|
This PR (HEAD: 0c9a483) has been imported to Gerrit for code review. Please visit Gerrit at https://go-review.googlesource.com/c/vulndb/+/806240. Important tips:
|
|
Message from Gopher Robot: Patch Set 1: (1 comment) Please don’t reply on this GitHub thread. Visit golang.org/cl/806240. |
|
Message from Gopher Robot: Patch Set 1: Congratulations on opening your first change. Thank you for your contribution! Next steps: Most changes in the Go project go through a few rounds of revision. This can be Please don’t reply on this GitHub thread. Visit golang.org/cl/806240. |
GO-2025-3824 (CVE-2025-51471, Ollama cross-domain token exposure) has no
fixedversion, onlyintroduced: 0, and the report notes "No patchedversion specified". As a result
govulncheckand pkg.go.dev report thevulnerability against every version of
github.com/ollama/ollama,including current releases such as
v0.32.4. The
upstream source advisory GHSA-x9hg-5q6g-q3jr carries only
last_affected: 0.9.6, which is why no fix was recorded.The vulnerability has been fixed upstream.
Evidence
The advisory describes a missing same-host check in
server.auth.getAuthorizationToken: therealmURL from aWWW-Authenticateheader is followed without verifying it belongs to thehost of the original request.
That check was added in
ollama/ollama#13738
("server: reject unexpected auth hosts"), merged 2026-01-16 as commit
7601f0e:
server/auth.gois byte-identical betweenv0.9.6andv0.14.2, so noearlier release carried the check, and
v0.14.3is the first releasetag containing the fix commit:
The affected range is therefore
[0, 0.14.3), andvulnerable_atisupdated to
0.14.2accordingly.Also in this change
The existing
fix:reference pointed atollama/ollama#10750, which
is the reporter's proposed patch and was closed unmerged. It is demoted
to a
web:reference and #13738 is recorded as the fix.data/osv/GO-2025-3824.jsonwas regenerated withgo run ./cmd/vulnreport fix data/reports/GO-2025-3824.yaml;vulnreport lintpasses.I have also opened
github/advisory-database#8826
to correct the source GHSA record.