Ollama does not validate the format of the digest (sha256 with 64 hex digits)
Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path, and thus mishandles the TestGetBlobsPath test cases such as fewer than 64 hex digits, more than 64 hex digits, or an initial `../` substring.
01
beschreibt (1)
Zugehörige CVEs.
| ID | Schweregrad | ausnutzbar | ||
|---|---|---|---|---|
| CVE-2024-37032US | — | Exploit | ||
Ollama before 0.1.34 does not validate the format of the digest (sha256 with 64 hex digits) when getting the model path, and thus mishandles the TestGetBlobsPath test cases such as… | ||||
02
Referenzen
Externe Belege — Patches, Meldungen, Analysen.
- https://github.com/advisories/GHSA-8hqg-whrw-pv92ADVISORY
- https://github.com/ollama/ollamaPACKAGE
- https://github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/modelpath_test.go#L41-L58WEB
- https://github.com/ollama/ollama/commit/2a21363bb756a7341d3d577f098583865bd7603fWEB
- https://github.com/ollama/ollama/compare/v0.1.33...v0.1.34WEB
- https://github.com/ollama/ollama/pull/4175WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-37032ADVISORY
- https://pkg.go.dev/vuln/GO-2024-2901WEB
scry
Advisories wie diese benennen die exponierten Produkte, die Angreifer auf Ihrer Angriffsfläche ins Visier nehmen. Sehen Sie mit einem kostenlosen Passiv-Scan, was exponiert ist.
Kostenloser Scan