原文の説明
An issue was discovered in Ollama before 0.1.34. The CreateModelHandler function uses os.Open to read a file until completion. The req.Path parameter is user-controlled and can be set to /dev/random, which is blocking, causing the goroutine to run infinitely (even after the HTTP request is aborted by the client).
影響を受けるソフトウェア
- Ollama *< 0.1.34 修正バージョン: 0.1.34 リポジトリ・パッケージ一致
詳細
- 公開日
- 2024-10-31
- 最終更新
- 2026-06-17
- CVSS ベクター
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-404
- EPSS(30日以内の悪用確率)
- 2.67% (パーセンタイル 86)
参考資料
- cve.org/CVE-2024-39721
- nvd.nist.gov/vuln/detail/CVE-2024-39721
- github.com/ollama/ollama/blob/9164b0161bcb24e543cba835a8863b80af2c0c21/server/routes.go#L5...
- github.com/ollama/ollama/blob/adeb40eaf29039b8964425f69a9315f9f1694ba8/server/routes.go#L5...
- www.oligo.security/blog/more-models-more-probllms
本製品は NVD API のデータを使用していますが、NVD による承認または認定を受けたものではありません。CVE® は The MITRE Corporation の登録商標です。CVE レコードは CVE Program の利用規約に基づいて使用しています。