GHSA-x9hg-5q6g-q3jr: set fixed version to 0.14.3 (CVE-2025-51471) - #8826
Conversation
|
very good |
|
I think this is a very solid and well-supported improvement. I especially appreciate the effort to verify the affected range against the upstream source history instead of simply updating the advisory based on an assumption. Showing that Replacing Adding the reference to the fix that actually shipped is also a valuable improvement for traceability, while preserving the earlier unmerged proposal as historical context. Overall, this looks like a carefully researched correction with a meaningful impact on the accuracy of the advisory and the tools consuming it. Thanks for putting together such detailed evidence! |
Summary
This advisory (CVE-2025-51471, Ollama cross-domain token exposure) currently has no
fixedevent — onlylast_affected: 0.9.6. Two consequences:fixedevent report every version ofgithub.com/ollama/ollamaas vulnerable forever. The Go vulnerability database mirrors this advisory as GO-2025-3824 withintroduced: 0and no fix (its report notes "No patched version specified"), sogovulncheckand pkg.go.dev flag current releases such as v0.32.4.last_affected: 0.9.6is also inaccurate — the vulnerable code was unchanged well past 0.9.6.This PR replaces
last_affected: 0.9.6withfixed: 0.14.3and adds a reference to the upstream fix.Evidence
The advisory describes the flaw in
server.auth.getAuthorizationToken: therealmURL from aWWW-Authenticateheader is followed without checking that it belongs to the same host as the original request.The fix is ollama/ollama#13738 ("server: reject unexpected auth hosts"), merged 2026-01-16 as commit
7601f0e. It adds the missing same-host check to that exact function:server/auth.gois byte-identical betweenv0.9.6andv0.14.2(blobdcef5bf9cc249e624758551a384646d28e7c2c57at both tags), so no earlier release carried the check:v0.14.3is therefore the first release containing the fix, making the affected range[0, 0.14.3).Note that the reference already present in this advisory, ollama/ollama#10750, is the reporter's proposed patch, which was closed unmerged; PR #13738 is the change that actually shipped. I left #10750 in place and added #13738 alongside it.
Changes
affected[0].ranges[0].events:last_affected: 0.9.6→fixed: 0.14.3references: added server: reject unexpected auth hosts ollama/ollama#13738All information above is from public sources; no new or undisclosed vulnerability details are included.